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