CurrentLocation.fromJson constructor
Implementation
factory CurrentLocation.fromJson(Map<String, dynamic> json) {
return CurrentLocation(
latitude: json['latitude'],
longitude: json['longitude'],
provider: json['provider'],
speed: json['speed'],
bearing: json['bearing'],
altitude: json['altitude'],
accuracy: json['accuracy'],
speedAccuracyMetersPerSecond: json['speedAccuracyMetersPerSecond']);
}