setEncryptionKey method

Future<void> setEncryptionKey(
  1. CryptoKey key, [
  2. dynamic keyID
])

Implementation

Future<void> setEncryptionKey(CryptoKey key, [dynamic keyID]) =>
    js_util.promiseToFuture(
        js_util.callMethod(this, 'setEncryptionKey', [key, keyID]));