PTAlert class Route
Public transport alert.
Represents an alert (for example service disruption) and provides access to localized header, description and URL translations.
Constructors
Properties
- countDescriptionTextTranslations → int
-
Number of description text translations available for this alert.
no setter
- countHeaderTextTranslations → int
-
Number of header text translations available for this alert.
no setter
- countUrlTranslations → int
-
Number of URL translations available for this alert.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRegisteredAutoReleaseObject ↔ bool
-
getter/setter pairinherited
- pointerId → int
-
The pointer ID of the native object
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
Disposes the native object.
inherited
-
getDescriptionTextTranslation(
int index) → PTTranslation? - Get description text translation by index.
-
getHeaderTextTranslation(
int index) → PTTranslation? - Get header text translation by index.
-
getUrlTranslation(
int index) → PTTranslation? - Get URL translation by index.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited