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