BMFLocation.fromMap constructor
- Map map
map => BMFLocation
Implementation
BMFLocation.fromMap(Map map)
: assert(map != null,
'Construct a BMFLocation,The parameter map cannot be null') {
coordinate = map['coordinate'] == null
? null
: BMFCoordinate.fromMap(map['coordinate']);
altitude = map['altitude'];
horizontalAccuracy = map['horizontalAccuracy'];
verticalAccuracy = map['verticalAccuracy'];
course = map['course'];
speed = map['speed'];
accuracy = map['accuracy'];
satellitesNum = map['satellitesNum'];
timestamp = map['timestamp'];
}