previousInstruction property

RouteInstruction get previousInstruction

Get the previous route instruction on the route

Returns

  • The next route instruction

Implementation

RouteInstruction get previousInstruction {
  final OperationResult resultString = objectMethod(
      _pointerId, 'NavigationInstruction', 'getPreviousInstruction');

  return RouteInstruction.init(resultString['result']);
}