toMap method

Map<String, dynamic> toMap()

Converts a LocationMessageParams object into a map.

Implementation

Map<String, dynamic> toMap() => {
      'latitude': latitude,
      'longitude': longitude,
    };