LexioLabConfig class

Constructors

LexioLabConfig({required String org, required String project, required String env, required String baseUrl, required String language, required LLEmbeddedSnapshot embedded, String? cdnBaseUrl, List<String>? segments, LLApplyMode applyMode = LLApplyMode.nextLaunch, LLMode mode = LLMode.production, bool cacheEnabled = true, bool fontsEnabled = true, void onEvent(LLEvent event)?, void onMissingKey(String key, String? segment)?, void onLanguageUnavailable(String requested, String active, int releaseSeq)?, void onUpdateReady(int releaseSeq, bool applied)?})
const

Properties

applyMode → LLApplyMode
final
baseUrl → String
final
cacheEnabled → bool
final
cdnBaseUrl → String?
Defaults to $baseUrl/v1/public/o.
final
embedded → LLEmbeddedSnapshot
Required: there is no "no content yet" state, because that state is a blank screen.
final
env → String
final
fontsEnabled → bool
final
hashCode → int
The hash code for this object.
no setterinherited
isFetchable → bool
no setter
language → String
Required: the SDK never guesses a language, because guessing wrong is invisible until a user complains.
final
languagesUrl → String
no setter
manifestUrl → String
no setter
missingFields → List<String>
The fields that must be non-empty before anything is fetched.
no setter
mode → LLMode
Never sniffed from the build: an app decides its own mode.
final
onEvent → void Function(LLEvent event)?
final
onLanguageUnavailable → void Function(String requested, String active, int releaseSeq)?
final
onMissingKey → void Function(String key, String? segment)?
final
onUpdateReady → void Function(int releaseSeq, bool applied)?
final
org → String
final
project → String
final
resolvedCdnBaseUrl → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
segments → List<String>?
null means every segment the release publishes.
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