Point.fromMap constructor
- Map map
map => Point
Implementation
Point.fromMap(Map map) : assert(map != null) {
location =
map['location'] == null ? null : LatLng.fromMap(map['location'] as Map);
if (map['coordType'] != null) {
int value = map['coordType'] as int;
if (value >= 0 && value <= 2) {
coordType = CoordType.values[value];
}
}
radius = map['radius'];
locTime = map['locTime'];
direction = map['direction'];
speed = map['speed'];
height = map['height'];
}