toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final apphub = this.apphub;
  final apphubDestination = this.apphubDestination;
  final apphubSource = this.apphubSource;
  final errorGroups = this.errorGroups;
  final httpRequest = this.httpRequest;
  final insertId = this.insertId;
  final jsonPayload = this.jsonPayload;
  final labels = this.labels;
  final logName = this.logName;
  final metadata = this.metadata;
  final operation = this.operation;
  final protoPayload = this.protoPayload;
  final receiveTimestamp = this.receiveTimestamp;
  final resource = this.resource;
  final severity = this.severity;
  final sourceLocation = this.sourceLocation;
  final spanId = this.spanId;
  final split = this.split;
  final textPayload = this.textPayload;
  final timestamp = this.timestamp;
  final trace = this.trace;
  final traceSampled = this.traceSampled;
  return {
    'apphub': ?apphub,
    'apphubDestination': ?apphubDestination,
    'apphubSource': ?apphubSource,
    'errorGroups': ?errorGroups,
    'httpRequest': ?httpRequest,
    'insertId': ?insertId,
    'jsonPayload': ?jsonPayload,
    'labels': ?labels,
    'logName': ?logName,
    'metadata': ?metadata,
    'operation': ?operation,
    'protoPayload': ?protoPayload,
    'receiveTimestamp': ?receiveTimestamp,
    'resource': ?resource,
    'severity': ?severity,
    'sourceLocation': ?sourceLocation,
    'spanId': ?spanId,
    'split': ?split,
    'textPayload': ?textPayload,
    'timestamp': ?timestamp,
    'trace': ?trace,
    'traceSampled': ?traceSampled,
  };
}