verifySignature method

Future<bool?> verifySignature(
  1. String signature,
  2. String hash,
  3. String pubKey
)

Implementation

Future<bool?> verifySignature(
    String signature, String hash, String pubKey) async {
  final arguments = {
    "signature": HEX.decode(signature),
    "hash": HEX.decode(hash),
    "pubKey": HEX.decode(pubKey)
  };
  return await methodChannel.invokeMethod<bool>(
    'verifySignature',
    arguments,
  );
}