TranslationsStore class

Constructors

TranslationsStore({Iterable<MapEntry<String, PackTranslation>> translations = const [], required String getLocale()})

Properties

getLocale String Function()
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
translations Map<String, PackTranslation>
final

Methods

findTranslation<T>(T? finder(PackTranslation), T fallback, [String? locale]) → T
getBackgroundTranslation(String key, [String? locale]) BackgroundTranslation
getBoardTranslation(String key, [String? locale]) BoardTranslation
getDeckTranslation(String key, [String? locale]) DeckTranslation
getFigureTranslation(String key, [String? locale]) FigureTranslation
getFigureVariationTranslation(String figureKey, String key, [String? locale]) FigureVariationTranslation
getTranslation([String? locale]) PackTranslation
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