BMFRidingStep.fromMap constructor

BMFRidingStep.fromMap(
  1. Map map
)

map => BMFRidingStep

Implementation

BMFRidingStep.fromMap(Map map) : super.fromMap(map) {
  direction = map['direction'];
  entrace =
      map['entrace'] == null ? null : BMFRouteNode.fromMap(map['entrace']);
  entraceInstruction = map['entraceInstruction'];
  exit = map['exit'] == null ? null : BMFRouteNode.fromMap(map['exit']);
  exitInstruction = map['exitInstruction'];
  instruction = map['instruction'];
  turnType = map['turnType'];
}