CopyBackupRequest.fromJson constructor

CopyBackupRequest.fromJson(
  1. Map json_
)

Implementation

CopyBackupRequest.fromJson(core.Map json_)
    : this(
        backupId: json_.containsKey('backupId')
            ? json_['backupId'] as core.String
            : null,
        encryptionConfig: json_.containsKey('encryptionConfig')
            ? CopyBackupEncryptionConfig.fromJson(json_['encryptionConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        expireTime: json_.containsKey('expireTime')
            ? json_['expireTime'] as core.String
            : null,
        sourceBackup: json_.containsKey('sourceBackup')
            ? json_['sourceBackup'] as core.String
            : null,
      );