BMFTransitStep.fromMap constructor
- Map map
map => BMFTransitStep
Implementation
BMFTransitStep.fromMap(Map map) : super.fromMap(map) {
  entrace =
      map['entrace'] == null ? null : BMFRouteNode.fromMap(map['entrace']);
  exit = map['exit'] == null ? null : BMFRouteNode.fromMap(map['exit']);
  instruction = map['instruction'];
  stepType = BMFTransitStepType.values[map['stepType'] as int];
  vehicleInfo = map['vehicleInfo'] == null
      ? null
      : BMFVehicleInfo.fromMap(map['vehicleInfo']);
}