BMFIndoorRouteLine.fromMap constructor

BMFIndoorRouteLine.fromMap(
  1. Map map
)

map => BMFIndoorRouteLine

Implementation

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