NavigationInstructions.fromMap constructor

NavigationInstructions.fromMap(
  1. dynamic navInstrMap
)

Implementation

factory NavigationInstructions.fromMap(dynamic navInstrMap) {
  return NavigationInstructions(
    direction: DirectionFactory.fromMap(Map<String, String>.from(navInstrMap["direction"])),
    instructions: navInstrMap["instructions"] as String,
  );
}