RealtimeTracingConfig class sealed
Tracing configuration for Realtime sessions.
A discriminated union covering:
- TracingAuto — the bare string
"auto", enabling tracing with default values. - TracingConfiguration — an object with optional
group_id,metadata, andworkflow_namefor granular tracing control.
An UnknownRealtimeTracingConfig fallback preserves any unrecognised payload so future server additions do not break existing clients.
- Implementers
Constructors
- RealtimeTracingConfig.auto()
-
Auto tracing.
constfactory
-
RealtimeTracingConfig.configuration({String? groupId, Map<
String, dynamic> ? metadata, String? workflowName}) -
Granular tracing configuration.
constfactory
- RealtimeTracingConfig.fromJson(Object json)
-
Creates from JSON.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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(
) → Object -
Converts to JSON. Returns either the string
"auto"or aMap. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited