agencyName property

String get agencyName

Name of the transit agency operating this segment.

Returns

  • String: Agency name or empty string when unknown.

Implementation

String get agencyName {
  final OperationResult resultString = objectMethod(
    pointerId,
    'PTRouteSegment',
    'getAgencyName',
  );

  return resultString['result'];
}