PTAlertTranslation class Maps & 3D Scenes

A single translation of a PTAlertInfo text field.

WARNING: The language tag comes verbatim from the GTFS-RT feed and may be inaccurate — some feeds tag the same untranslated text under multiple languages. Treat it as a hint and fall back to the first entry of the translation list when no exact match exists (see PTAlertInfo.selectTranslation).

Also see:

Constructors

PTAlertTranslation({required String language, required String text})
Create a PTAlertTranslation.

Properties

hashCode int
The hash code for this object.
no setterinherited
language String
Language tag, verbatim from the feed (may be inaccurate).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Translation text.
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