decryptWithKey static method

Future<Object?> decryptWithKey(
  1. Object data,
  2. String key
)

Decrypt the data with a key.

Implementation

static Future<Object?> decryptWithKey(Object data, String key) =>
    toFuture(SeaJsImpl.decrypt(dartToJs(data)!, key)).then(jsToDart);