LocalisyncConfig class final
Constructors
-
LocalisyncConfig({required String projectId, required String distributionId, required Channel channel, required List<
Uri> addresses, required String readKey, required Map<String, String> trustedKeys, required String appVersion, required TranslationBundle bundled, required String locale, UpdatePolicy updatePolicy = UpdatePolicy.onStart, ActivationPolicy activationPolicy = ActivationPolicy.immediate, bool allowDevelopmentHttp = false, Duration requestTimeout = const Duration(seconds: 15), Duration refreshTimeout = const Duration(seconds: 60), DiagnosticsConfig? diagnostics, int cacheBytes = 256 * 1024 * 1024, Map<String, TranslationEntry> contracts = const {}})
Properties
- activationPolicy → ActivationPolicy
-
final
-
addresses
→ List<
Uri> -
final
- allowDevelopmentHttp → bool
-
final
- appVersion → AppVersion
-
final
- bundled → TranslationBundle
-
final
- cacheBytes → int
-
final
- cacheScope → String
-
no setter
- channel → Channel
-
final
-
contracts
→ Map<
String, TranslationEntry> -
final
- diagnostics → DiagnosticsConfig?
-
final
- distributionId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- locale → String
-
final
- projectId → String
-
final
- readKey → String
-
final
- refreshTimeout → Duration
-
final
- requestTimeout → Duration
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
trustedKeys
→ Map<
String, String> -
final
- updatePolicy → UpdatePolicy
-
final
Methods
-
bad(
) → Never -
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