decrypt static method

Future<Object?> decrypt(
  1. Object data,
  2. KeyPair pair
)

Decrypt the data with the pair.

Implementation

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