BMFMassTransitStep.fromMap constructor

BMFMassTransitStep.fromMap(
  1. Map map
)

map => BMFMassTransitStep

Implementation

BMFMassTransitStep.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFMassTransitStep,The parameter map cannot be null !') {
  isSubStep = map['isSubStep'];
  if (map['steps'] != null) {
    steps = new List<BMFMassTransitSubStep>();
    map['steps'].forEach((v) {
      steps.add(BMFMassTransitSubStep.fromMap(v as Map));
    });
  }
}