programToAddr static method

Future<String?> programToAddr(
  1. Uint8List pubkey
)

Implementation

static Future<String?> programToAddr(Uint8List pubkey) async {
  try {
    final String address = await _methodChannel.invokeMethod('programToAddr', {
      'pubKey': pubkey,
    });
    return address;
  } catch (e) {
    return null;
  }
}