OlaLatLng.fromJson constructor

OlaLatLng.fromJson(
  1. Map json
)

Implementation

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