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