toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (endpointInfo != null) 'endpointInfo': endpointInfo!,
if (forwardTraceId != null) 'forwardTraceId': forwardTraceId!,
if (steps != null) 'steps': steps!,
};