SdkConfig class

SdkConfig pushed by the desktop in welcome and config messages.

Constructors

SdkConfig({required bool captureBodies, required int maxBodyBytes, required int metricsIntervalMs, required bool deviceLogsAvailable})
const

Properties

captureBodies → bool
final
deviceLogsAvailable → bool
final
hashCode → int
The hash code for this object.
no setterinherited
maxBodyBytes → int
final
metricsIntervalMs → int
final
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, Object?>
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(Object? json, {SdkConfig fallback = defaults}) → SdkConfig
Tolerant parser: missing/invalid fields fall back to fallback.

Constants

defaults → const SdkConfig
Used until the first welcome arrives (matches DEFAULT_SETTINGS).