checkPublicKey function
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;
}
}