getPublicKeyFromPrivateKey static method

Future<Uint8List> getPublicKeyFromPrivateKey(
  1. Uint8List privateKey
)

Implementation

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