sign static method

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

Sign the data with the pair.

Implementation

static Future<String?> sign(Object data, KeyPair pair) =>
    toFuture(SeaJsImpl.sign(dartToJs(data), pair));