RetainRule.fromJson constructor
Implementation
factory RetainRule.fromJson(Map<String, dynamic> json) {
return RetainRule(
count: json['Count'] as int?,
interval: json['Interval'] as int?,
intervalUnit:
(json['IntervalUnit'] as String?)?.toRetentionIntervalUnitValues(),
);
}