SdkConfig class
SdkConfig pushed by the desktop in welcome and config messages.
Constructors
Properties
- captureBodies → bool
-
Whether request and response bodies are captured (sizes always are).
final
- captureStreams → bool
-
Whether
net.ws/net.ssemessages may be sent. Only a config that saystrueturns them on: an older desktop leaves the field out, which means off even when an earlier config had it on.final - deviceLogsAvailable → bool
-
Whether the desktop reads the device's own logs (adb logcat, iOS
syslog);
printcapture inautomode stays off then, so lines are not shown twice.final - hashCode → int
-
The hash code for this object.
no setterinherited
- maxBodyBytes → int
-
Bodies are cut after this many bytes (at most 10 MiB).
final
- maxStreamMessageBytes → int
-
Payload cap of one stream message in bytes (0: sizes only), at most
kMaxStreamMessageBytesCeiling.final - metricsIntervalMs → int
-
How often metric samples are sent, in milliseconds (at least 100).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamMessageCap → int
-
Payload bytes of one stream message the SDK keeps right now: 0 when
bodies are off.
no setter
Methods
-
copyWith(
{bool? captureBodies}) → SdkConfig - A copy with the given fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - The config as wire JSON.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited