toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final attributes = this.attributes;
final spanId = this.spanId;
final traceId = this.traceId;
final type = this.type;
return {
'attributes': ?attributes,
'spanId': ?spanId,
'traceId': ?traceId,
'type': ?type,
};
}