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