DescribeNotificationsForBudgetResponse.fromJson constructor

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

Implementation

factory DescribeNotificationsForBudgetResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeNotificationsForBudgetResponse(
    nextToken: json['NextToken'] as String?,
    notifications: (json['Notifications'] as List?)
        ?.whereNotNull()
        .map((e) => Notification.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}