Geolocation.fromJson constructor

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

Implementation

Geolocation.fromJson(Map<String, dynamic> json) {
  type = json['type'];
  coordinates = List.castFrom<dynamic, double>(json['coordinates']);
}