mirror of
https://github.com/supleed2/ELEC60013-ES-CW1.git
synced 2024-11-14 11:45: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']);
|
||
|
}
|
||
|
}
|