OryksaTvTexts class

The texts of the TV pieces, from the ORYKSA server (tv.texts), already in the locale the server chose. A missing key uses a short English text and is logged once.

Annotations

Constructors

OryksaTvTexts(Map<String, String> values)
Creates the texts.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
values → Map<String, String>
Texts by key.
final

Methods

get(String key, [Map<String, String> vars = const {}]) → String
The text for key, with {name} placeholders replaced by vars.
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

Constants

fallback → const Map<String, String>
Short English texts used only when the server does not send a key (older servers).