OpsEventMeta class

Metadata attached to every ops event for tracing and provenance.

Constructors

OpsEventMeta({required String source, String? traceId, String? spanId})
const
OpsEventMeta.fromJson(Map<String, dynamic> json)
Deserialize 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
source → String
Source system or component that produced the event.
final
spanId → String?
Span ID within the trace for fine-grained correlation.
final
traceId → String?
Distributed trace ID for cross-service correlation.
final

Methods

copyWith({String? source, String? traceId, String? spanId}) → OpsEventMeta
Create a copy with updated fields.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to JSON.
toString() → String
A string representation of this object.
override

Operators

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