PublicTransportParameters class Core
Parameters for public-transport overlay items.
Used for transit-related overlays (stops, stations, lines). This container provides
a human-readable name, the icon id and creation timestamp, and direction flags
used for rendering direction-specific icons.
Also see:
- OverlayItem.getPTStopInfo for obtaining more detailed transit stop information.
- Inheritance
-
- Object
- OverlayItemParameters
- PublicTransportParameters
Constructors
- PublicTransportParameters({required int? id, required DateTime? createStampUtc, required int? iconId, required String? name, required bool? strDrivingDirectionFlag})
-
PublicTransportParameters.fromParameters(List<
GemParameter> params) -
factory
Properties
- createStampUtc ↔ DateTime?
-
The creation timestamp of the overlay item in UTC.
getter/setter pairoverride-getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconId ↔ int?
-
The Overlay item category id.
getter/setter pairoverride-getter
- id ↔ int?
-
The unique identifier of the overlay item.
getter/setter pairoverride-getter
- name ↔ String?
-
Public transport stop name
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strDrivingDirectionFlag ↔ bool?
-
True if the public transport stop is located on a two‑way street; false if it is on a one‑way street
getter/setter pair
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