checkPublicKey function

Future<bool> checkPublicKey({
  1. required PublicKey publicKey,
})

Check if public key is correct. Return true or false

Implementation

Future<bool> checkPublicKey({required PublicKey publicKey}) async {
  try {
    return await createLib().checkPublicKey(publicKey: publicKey.publicKey);
  } catch (_) {
    return false;
  }
}