CustomTrackPoint.fromMap constructor
- Map map
map => CustomTrackPoint
Implementation
CustomTrackPoint.fromMap(Map map)
: assert(map != null,
'Construct a CustomTrackPoint,The parameter map cannot be null !') {
point = map['point'] == null ? null : Point.fromMap(map['point']);
customData = map['customData'] as Map<String, String>;
entityName = map['entityName'];
}