GetSamplingStatisticSummariesResult.fromJson constructor

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

Implementation

factory GetSamplingStatisticSummariesResult.fromJson(
    Map<String, dynamic> json) {
  return GetSamplingStatisticSummariesResult(
    nextToken: json['NextToken'] as String?,
    samplingStatisticSummaries: (json['SamplingStatisticSummaries'] as List?)
        ?.whereNotNull()
        .map((e) =>
            SamplingStatisticSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}