DemoLocalization class

this localization class used to retrieve json files of different languages.

Constructors

DemoLocalization(Locale locale)

Properties

hashCode int
The hash code for this object.
no setterinherited
locale Locale
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

load() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
translate(dynamic key) String

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

of(BuildContext context) DemoLocalization?