EimzoConfig class

SDK configuration passed to EimzoFlutter.init.

Constructors

EimzoConfig({EimzoEnvironment? environment, @Deprecated('environment: EimzoEnvironment.dev yoki EimzoEnvironment.prod bilan almashtiring') bool isTestMode = false, String? productionApiUrl, String? testApiUrl, String? license, bool debugLogging = false, EimzoAppearance? appearance, EimzoLanguage? language, bool showLanguagePicker = true, EimzoHashDisplay hashDisplay = EimzoHashDisplay.visible})
isTestMode is the flag the environment was until 2.3: true is EimzoEnvironment.dev. It still works, so configurations written for 2.2 build unchanged; environment, when given, wins.
const

Properties

appearance → EimzoAppearance?
The SDK's screens in the app's colours, font and corners (2.5.0). Null — the default — keeps the SDK's own design. See EimzoAppearance.
final
debugLogging → bool
Logs the SDK's steps to the console — never keys, PINs or signatures. For debug builds, e.g. debugLogging: kDebugMode.
final
environment → EimzoEnvironment
Production E-IMZO or YT's test environment; EimzoEnvironment.prod by default.
final
hashCode → int
The hash code for this object.
no setterinherited
hashDisplay → EimzoHashDisplay
Whether the sign screen shows the hash of a request the app made itself (2.5.0); EimzoHashDisplay.visible by default.
final
isTestMode → bool
no setter
language → EimzoLanguage?
The language of the SDK's screens (2.5.0). Null — the default — keeps what the SDK did before: the language the user picked in its settings, else the phone's. Given, it is the language the SDK starts in; the user can still change it there, unless showLanguagePicker is false.
final
license → String?
The EIMZO1.… licence issued by YT, for an app that already ships one.
final
productionApiUrl → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showLanguagePicker → bool
Whether the SDK's settings offer a language (2.5.0); true by default. False hides the choice, and the SDK is always in language — or, with none, the phone's. For an app with its own language setting: pass its current language here, and call EimzoFlutter.init again when it changes.
final
testApiUrl → String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited