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