BackupRetentionPolicy.fromJson constructor

BackupRetentionPolicy.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BackupRetentionPolicy.fromJson(Map<String, dynamic> json) {
  return BackupRetentionPolicy(
    type: (json['Type'] as String?)?.toBackupRetentionType(),
    value: json['Value'] as String?,
  );
}