PTAgency class Maps & 3D Scene

This class represents a public transport agency.

It contains the agency's ID, name, and an optional URL.

Constructors

PTAgency.new({required int id, required String name, String? url})
Creates a PTAgency with the given id, name, and optional url.

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
The ID of the agency.
final
name String
The name of the agency.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
The URL of the agency's website. This can be null if not provided.
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