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