nextInstruction property

RouteInstruction get nextInstruction

Get the next route instruction on the route

Returns

  • The next route instruction

Implementation

RouteInstruction get nextInstruction {
  final OperationResult resultString =
      objectMethod(_pointerId, 'NavigationInstruction', 'getNextInstruction');

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