toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final attributes = this.attributes;
  final childSpanCount = this.childSpanCount;
  final displayName = this.displayName;
  final endTime = this.endTime;
  final links = this.links;
  final name = this.name;
  final parentSpanId = this.parentSpanId;
  final sameProcessAsParentSpan = this.sameProcessAsParentSpan;
  final spanId = this.spanId;
  final spanKind = this.spanKind;
  final stackTrace = this.stackTrace;
  final startTime = this.startTime;
  final status = this.status;
  final timeEvents = this.timeEvents;
  return {
    'attributes': ?attributes,
    'childSpanCount': ?childSpanCount,
    'displayName': ?displayName,
    'endTime': ?endTime,
    'links': ?links,
    'name': ?name,
    'parentSpanId': ?parentSpanId,
    'sameProcessAsParentSpan': ?sameProcessAsParentSpan,
    'spanId': ?spanId,
    'spanKind': ?spanKind,
    'stackTrace': ?stackTrace,
    'startTime': ?startTime,
    'status': ?status,
    'timeEvents': ?timeEvents,
  };
}