Language class
Represents a language with a code and name, compatible with Flutter locales.
Constructors
- Language.new({required String code, required String name})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toLocale(
) → Locale - Converts this language to a Flutter Locale.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override