name property

String get name

Instruction name (for example station or stop name).

Returns

  • String: The instruction name.

Implementation

String get name {
  final OperationResult resultString = objectMethod(
    pointerId,
    'PTRouteInstruction',
    'getName',
  );

  return resultString['result'];
}