QueryTrackLatestPointOption.fromMap constructor
- Map map
map => QueryTrackLatestPointOption
Implementation
QueryTrackLatestPointOption.fromMap(Map map)
: assert(map != null,
'Construct a QueryTrackLatestPointOption,The parameter map cannot be null !'),
super.fromMap(map) {
entityName = map['entityName'];
processOption = map['processOption'] == null
? null
: QueryTrackProcessOption.fromMap(map['processOption']);
if (map['outputCoordType'] != null) {
int value = map['outputCoordType'] as int;
if (value >= 0 && value <= 2) {
outputCoordType = CoordType.values[value];
}
}
}