toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final httpRequest = this.httpRequest;
final insertId = this.insertId;
final labels = this.labels;
final name = this.name;
final operation = this.operation;
final protoPayload = this.protoPayload;
final severity = this.severity;
final sourceLocation = this.sourceLocation;
final structPayload = this.structPayload;
final textPayload = this.textPayload;
final timestamp = this.timestamp;
final trace = this.trace;
return {
'httpRequest': ?httpRequest,
'insertId': ?insertId,
'labels': ?labels,
'name': ?name,
'operation': ?operation,
'protoPayload': ?protoPayload,
'severity': ?severity,
'sourceLocation': ?sourceLocation,
'structPayload': ?structPayload,
'textPayload': ?textPayload,
'timestamp': ?timestamp,
'trace': ?trace,
};
}