PutTraceSegmentsResult.fromJson constructor

PutTraceSegmentsResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PutTraceSegmentsResult.fromJson(Map<String, dynamic> json) {
  return PutTraceSegmentsResult(
    unprocessedTraceSegments: (json['UnprocessedTraceSegments'] as List?)
        ?.whereNotNull()
        .map((e) =>
            UnprocessedTraceSegment.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}