Bundle class
Constructors
-
Bundle.new({required String projectId, required int translationVersion, required String appVersion, required List<
LanguageBundle> languageBundles}) - Bundle.empty({required String projectId, required String appVersion})
Properties
- appVersion → String
-
We need to know the app version of the cached translation
to be able to clean them after a new release of the app.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
languageBundles
→ List<
LanguageBundle> -
final
-
legacyTranslations
→ Map<
String, Map< String, LabelTr> > -
no setter
- projectId → String
-
The project id is needed to be able to check the
cached data is related to the project which is
configured in the SDK.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- translationVersion → int
-
We need to know the translation version to know which version
we have cached before requesting a new version of them.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited