DescribeReportDefinitionsResponse.fromJson constructor

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

Implementation

factory DescribeReportDefinitionsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeReportDefinitionsResponse(
    nextToken: json['NextToken'] as String?,
    reportDefinitions: (json['ReportDefinitions'] as List?)
        ?.whereNotNull()
        .map((e) => ReportDefinition.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}