toJson method

Map<String, dynamic> toJson()

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,
  };
}