OlaLatLng.fromJson constructor
OlaLatLng.fromJson(
- Map json
Implementation
factory OlaLatLng.fromJson(Map<dynamic, dynamic> json) {
return OlaLatLng(
(json['latitude'] as num).toDouble(),
(json['longitude'] as num).toDouble(),
);
}