ArchiveRuleSummary.fromJson constructor
ArchiveRuleSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ArchiveRuleSummary.fromJson(Map<String, dynamic> json) {
return ArchiveRuleSummary(
createdAt: nonNullableTimeStampFromJson(json['createdAt'] as Object),
filter: (json['filter'] as Map<String, dynamic>).map(
(k, e) => MapEntry(k, Criterion.fromJson(e as Map<String, dynamic>))),
ruleName: json['ruleName'] as String,
updatedAt: nonNullableTimeStampFromJson(json['updatedAt'] as Object),
);
}