toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    Keys.ARG_LATITUDE: this.latitude,
    Keys.ARG_LONGITUDE: this.longitude,
    Keys.ARG_ACCURACY: this.accuracy,
    Keys.ARG_ALTITUDE: this.altitude,
    Keys.ARG_SPEED: this.speed,
    Keys.ARG_SPEED_ACCURACY: this.speedAccuracy,
    Keys.ARG_HEADING: this.heading,
    Keys.ARG_TIME: this.time,
    Keys.ARG_IS_MOCKED: this.isMocked,
  };
}