BackupRetentionSettings.fromJson constructor

BackupRetentionSettings.fromJson(
  1. Map _json
)

Implementation

BackupRetentionSettings.fromJson(core.Map _json)
    : this(
        retainedBackups: _json.containsKey('retainedBackups')
            ? _json['retainedBackups'] as core.int
            : null,
        retentionUnit: _json.containsKey('retentionUnit')
            ? _json['retentionUnit'] as core.String
            : null,
      );