NavigationInstruction constructor

NavigationInstruction({
  1. Maneuver? maneuver,
  2. String? instructions,
})

Implementation

factory NavigationInstruction({
  $6.Maneuver? maneuver,
  $core.String? instructions,
}) {
  final $result = create();
  if (maneuver != null) {
    $result.maneuver = maneuver;
  }
  if (instructions != null) {
    $result.instructions = instructions;
  }
  return $result;
}