toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  // ignore: unnecessary_cast
  return {
    'lat': this.lat,
    'lon': this.lon,
  } as Map<String, dynamic>;
}