Trace.fromJson constructor
Trace.fromJson(
- Map json_
Implementation
Trace.fromJson(core.Map json_)
: this(
endpointInfo: json_.containsKey('endpointInfo')
? EndpointInfo.fromJson(
json_['endpointInfo'] as core.Map<core.String, core.dynamic>)
: null,
forwardTraceId: json_.containsKey('forwardTraceId')
? json_['forwardTraceId'] as core.int
: null,
steps: json_.containsKey('steps')
? (json_['steps'] as core.List)
.map((value) => Step.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);