PTTranslation class
Public transport translation.
Holds a translated text and its BCP-47 language code. Used by PTAlert to provide localized header, description and URL translations.
See also:
- PTAlert - alerts containing translations.
Constructors
- PTTranslation.new(String text, String language)
-
PTTranslation.fromJson(Map<
String, dynamic> json) -
factory
Properties
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