ListNotificationRulesResult.fromJson constructor
Implementation
factory ListNotificationRulesResult.fromJson(Map<String, dynamic> json) {
return ListNotificationRulesResult(
nextToken: json['NextToken'] as String?,
notificationRules: (json['NotificationRules'] as List?)
?.whereNotNull()
.map((e) =>
NotificationRuleSummary.fromJson(e as Map<String, dynamic>))
.toList(),
);
}