DescribeUsageReportSubscriptionsResult.fromJson constructor
DescribeUsageReportSubscriptionsResult.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeUsageReportSubscriptionsResult.fromJson(
Map<String, dynamic> json) {
return DescribeUsageReportSubscriptionsResult(
nextToken: json['NextToken'] as String?,
usageReportSubscriptions: (json['UsageReportSubscriptions'] as List?)
?.whereNotNull()
.map((e) =>
UsageReportSubscription.fromJson(e as Map<String, dynamic>))
.toList(),
);
}