EnrollLocalizationOverrides class
Localization overrides loaded from JSON files bundled with the host app.
On iOS the files are resolved from Bundle.main by name. On Android they
are resolved from the app assets by name. No extension is required;
.json is assumed when not provided. The JSON may be a flat
{ "key": "value" } map, or the nested
{ "localizationOverrides": { "en": { ... }, "ar": { ... } } } shape.
Constructors
- EnrollLocalizationOverrides({String? englishFileName, String? arabicFileName})
-
const
Properties
- arabicFileName → String?
-
File name (without
.json) for Arabic overrides.final - englishFileName → String?
-
File name (without
.json) for English overrides.final - hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited