LatLng.fromJson constructor

LatLng.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LatLng.fromJson(Map<String, dynamic> json) {
  return LatLng(
    lat: json['lat'],
    lng: json['lng'],
  );
}