ContinuousBackupConfig.fromJson constructor

ContinuousBackupConfig.fromJson(
  1. Map json_
)

Implementation

ContinuousBackupConfig.fromJson(core.Map json_)
    : this(
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        encryptionConfig: json_.containsKey('encryptionConfig')
            ? EncryptionConfig.fromJson(json_['encryptionConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        recoveryWindowDays: json_.containsKey('recoveryWindowDays')
            ? json_['recoveryWindowDays'] as core.int
            : null,
      );