GeoPoint.fromJson constructor
GeoPoint.fromJson(
- Map json_
Implementation
GeoPoint.fromJson(core.Map json_)
: this(
altitude: json_.containsKey('altitude')
? (json_['altitude'] as core.num).toDouble()
: null,
latitude: json_.containsKey('latitude')
? (json_['latitude'] as core.num).toDouble()
: null,
longitude: json_.containsKey('longitude')
? (json_['longitude'] as core.num).toDouble()
: null,
);