toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final attributes = this.attributes;
  final childSpans = this.childSpans;
  final duration = this.duration;
  final endTime = this.endTime;
  final name = this.name;
  final startTime = this.startTime;
  return {
    'attributes': ?attributes,
    'childSpans': ?childSpans,
    'duration': ?duration,
    'endTime': ?endTime,
    'name': ?name,
    'startTime': ?startTime,
  };
}