getPublicKeyFromPrivateKey static method Null safety

Future<Uint8List> getPublicKeyFromPrivateKey(
  1. Uint8List privateKey
)

getPublicKeyFromPrivateKey

Implementation

static Future<Uint8List> getPublicKeyFromPrivateKey(
    Uint8List privateKey) async {
  try {
    return await _methodChannel.invokeMethod('getPublicKeyFromPrivateKey', {
      'privateKey': privateKey,
    });
  } catch (e) {
    throw e;
  }
}