LanguageInfo class
Language information and validation for ARB translation.
This library provides comprehensive language support with detailed information about each supported language including native names, regions, and validation utilities. Represents a language with its metadata.
Constructors
- LanguageInfo({required String code, required String name, required String nativeName, String? region, bool isRightToLeft = false})
-
Creates a LanguageInfo with the given parameters.
const
Properties
- code → String
-
ISO-639 language code (e.g., 'en', 'fr').
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isRightToLeft → bool
-
Whether the language is written from right to left.
final
- name → String
-
English name of the language.
final
- nativeName → String
-
Native name of the language.
final
- region → String?
-
Primary region where the language is spoken.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override