toJson method

Map<String, dynamic> toJson({
  1. bool full = false,
  2. bool forApiRQ = false,
})

Implementation

Map<String, dynamic> toJson({bool full = false, bool forApiRQ = false}) =>
    <String, dynamic>{
      '__type': 'GeoPoint',
      'latitude': latitude,
      'longitude': longitude
    };