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