FastRestoreRule.fromJson constructor
Implementation
factory FastRestoreRule.fromJson(Map<String, dynamic> json) {
return FastRestoreRule(
availabilityZones: (json['AvailabilityZones'] as List)
.whereNotNull()
.map((e) => e as String)
.toList(),
count: json['Count'] as int?,
interval: json['Interval'] as int?,
intervalUnit:
(json['IntervalUnit'] as String?)?.toRetentionIntervalUnitValues(),
);
}