CircleFence.fromMap constructor
- Map map
Implementation
CircleFence.fromMap(Map map)
: assert(map != null),
super.fromMap(map) {
center = map['center'] == null ? null : LatLng.fromMap(map['center']);
radius = map['radius'];
if (map['coordType'] != null) {
int value = map['coordType'] as int;
if (value >= 0 && value <= 2) {
coordType = CoordType.values[value];
}
}
}