toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (errorGroups != null) 'errorGroups': errorGroups!,
if (httpRequest != null) 'httpRequest': httpRequest!,
if (insertId != null) 'insertId': insertId!,
if (jsonPayload != null) 'jsonPayload': jsonPayload!,
if (labels != null) 'labels': labels!,
if (logName != null) 'logName': logName!,
if (metadata != null) 'metadata': metadata!,
if (operation != null) 'operation': operation!,
if (protoPayload != null) 'protoPayload': protoPayload!,
if (receiveTimestamp != null) 'receiveTimestamp': receiveTimestamp!,
if (resource != null) 'resource': resource!,
if (severity != null) 'severity': severity!,
if (sourceLocation != null) 'sourceLocation': sourceLocation!,
if (spanId != null) 'spanId': spanId!,
if (split != null) 'split': split!,
if (textPayload != null) 'textPayload': textPayload!,
if (timestamp != null) 'timestamp': timestamp!,
if (trace != null) 'trace': trace!,
if (traceSampled != null) 'traceSampled': traceSampled!,
};