fromJson method

GetOffsetResult fromJson (
  1. Map<String, dynamic> json
)

Deserializes the result from JSON.

Implementation

static GetOffsetResult fromJson(Map<String, dynamic> json) {
  return GetOffsetResult(
    dx: json['dx'] as double,
    dy: json['dy'] as double,
  );
}