LatLng.fromJson constructor

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

Implementation

LatLng.fromJson(Map<String, dynamic> json)
    : this((json['coordinates'][1] as num).toDouble(),
          (json['coordinates'][0] as num).toDouble());