QueryTrackLatestPointResult.fromMap constructor

QueryTrackLatestPointResult.fromMap(
  1. Map map
)

map => QueryTrackLatestPointResult

Implementation

QueryTrackLatestPointResult.fromMap(Map map)
    : assert(map != null,
          'Construct a QueryTrackLatestPointResult,The parameter map cannot be null !'),
      super.fromMap(map) {
  entityName = map['entityName'];
  limitSpeed = map['limitSpeed'];
  latestPoint = map['latestPoint'] == null
      ? null
      : LatestPoint.fromMap(map['latestPoint']);
}