DeleteFenceResult.fromMap constructor
- Map map
Implementation
DeleteFenceResult.fromMap(Map map)
: assert(map != null),
super.fromMap(map) {
fenceType = map['fenceType'] == null
? null
: FenceType.values[map['fenceType'] as int];
if (map['fenceIds'] != null) {
fenceIds = List<int>();
map['fenceIds'].forEach((e) {
fenceIds.add(e as int);
});
}
}