RestoreDatabaseRequest.fromJson constructor

RestoreDatabaseRequest.fromJson(
  1. Map json_
)

Implementation

RestoreDatabaseRequest.fromJson(core.Map json_)
    : this(
        backup: json_.containsKey('backup')
            ? json_['backup'] as core.String
            : null,
        databaseId: json_.containsKey('databaseId')
            ? json_['databaseId'] as core.String
            : null,
        encryptionConfig: json_.containsKey('encryptionConfig')
            ? RestoreDatabaseEncryptionConfig.fromJson(
                json_['encryptionConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );