mirror of
https://github.com/supleed2/ELEC60013-ES-CW1.git
synced 2024-12-23 05:55:49 +00:00
11 lines
275 B
Dart
11 lines
275 B
Dart
class LatitudeLongitude {
|
|
double latitude;
|
|
double longitude;
|
|
|
|
LatitudeLongitude(this.latitude, this.longitude);
|
|
|
|
factory LatitudeLongitude.fromJson(Map<String, dynamic> parsedJson){
|
|
return LatitudeLongitude(parsedJson['latitude'], parsedJson['longitude']);
|
|
}
|
|
}
|