BMFWalkingRouteLine.fromMap constructor

BMFWalkingRouteLine.fromMap(
  1. Map map
)

map => BMFWalkingRouteLine

Implementation

BMFWalkingRouteLine.fromMap(Map map) : super.fromMap(map) {
  if (map['steps'] != null) {
    steps = new List<BMFWalkingStep>();
    map['steps'].forEach((v) {
      steps.add(BMFWalkingStep.fromMap(v as Map));
    });
  }
}