RestoreDatabaseEncryptionConfig.fromJson constructor

RestoreDatabaseEncryptionConfig.fromJson(
  1. Map json_
)

Implementation

RestoreDatabaseEncryptionConfig.fromJson(core.Map json_)
    : this(
        encryptionType: json_.containsKey('encryptionType')
            ? json_['encryptionType'] as core.String
            : null,
        kmsKeyName: json_.containsKey('kmsKeyName')
            ? json_['kmsKeyName'] as core.String
            : null,
        kmsKeyNames: json_.containsKey('kmsKeyNames')
            ? (json_['kmsKeyNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );