TransitAgency class
Provides information about the operator of the line, including the following properties:
name
contains the name of the transit agency.phone
contains the phone number of the transit agency.url
contains the URL for the transit agency.
Constructors
- TransitAgency({String? name, String? phone, String? url})
-
const
-
TransitAgency.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
Contains the name of the transit agency.
final
- phone → String?
-
Contains the phone number of the transit agency.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String?
-
Contains the URL for the transit agency.
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