Translations class

Mixed-in types
Implementers

Constructors

Translations({Map<String, Node>? overrides, PluralResolver? cardinalResolver, PluralResolver? ordinalResolver, TranslationMetadata<AppLocale, Translations>? meta})
You can call this constructor and build your own translation instance of this locale. Constructing via the enum AppLocale.build is preferred.

Properties

$meta TranslationMetadata<AppLocale, Translations>
Metadata for the translations of .
final
$wip → dynamic
Provides the ability to write plain strings without code generation. Useful for prototyping / development.
no setterinherited
enrollmentStatus TranslationsEnrollmentStatusZhTw
latefinal
errors TranslationsErrorsZhTw
latefinal
general TranslationsGeneralZhTw
latefinal
hashCode int
The hash code for this object.
no setterinherited
intro TranslationsIntroZhTw
latefinal
login TranslationsLoginZhTw
latefinal
latefinal
profile TranslationsProfileZhTw
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$copyWith({TranslationMetadata<AppLocale, Translations>? meta}) Translations
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
operator [](String key) → dynamic
Access flat map

Static Methods

of(BuildContext context) Translations
Returns the current translations of the given context.