DescribeAggregationAuthorizationsResponse.fromJson constructor

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

Implementation

factory DescribeAggregationAuthorizationsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeAggregationAuthorizationsResponse(
    aggregationAuthorizations: (json['AggregationAuthorizations'] as List?)
        ?.whereNotNull()
        .map((e) =>
            AggregationAuthorization.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}