name property

String get name

Segment display name.

Human-readable name associated with this segment (for example a station or line name). Is influenced by the SDK language.

Returns

  • String: The segment name.

Implementation

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

  return resultString['result'];
}