AddCustomTrackPointOption.fromMap constructor

AddCustomTrackPointOption.fromMap(
  1. Map map
)

map => AddCustomTrackPointOption

Implementation

AddCustomTrackPointOption.fromMap(Map map)
    : assert(map != null,
          'Construct a AddCustomTrackPointOption,The parameter map cannot be null !'),
      super.fromMap(map) {
  customTrackPoint = map['customTrackPoint'] == null
      ? null
      : CustomTrackPoint.fromMap(map['customTrackPoint']);
}