PTAgency class Maps & 3D Scenes

Public transport agency information.

Holds identifying metadata for a transit agency: numeric id, display name and an optional website URL.

Is provided as part of PTStopInfo.agencies.

Also see:

Constructors

PTAgency.new({required int id, required String name, String? url})
Create a PTAgency.

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
Numeric agency identifier.
final
name String
The agency display name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
Optional agency website URL.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited