DescribeBudgetsResponse.fromJson constructor

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

Implementation

factory DescribeBudgetsResponse.fromJson(Map<String, dynamic> json) {
  return DescribeBudgetsResponse(
    budgets: (json['Budgets'] as List?)
        ?.whereNotNull()
        .map((e) => Budget.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}