Language class Core
Complete language specification.
Constructors
- Language({String name = '', String languagecode = '', String regioncode = '', String scriptcode = '', ScriptVariant scriptvariant = ScriptVariant.native})
-
Language.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- languagecode ↔ String
-
ISO 639-3 three letter language code.
getter/setter pair
- name ↔ String
-
Language name.
getter/setter pair
- regioncode ↔ String
-
ISO 3166-1 three letter region code.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scriptcode ↔ String
-
ISO 15924 four letter script code.
getter/setter pair
- scriptvariant ↔ ScriptVariant
-
Script variant.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
covariant Language other) → bool -
The equality operator.
override