tryFromUint8List static method

Pubkey? tryFromUint8List(
  1. Iterable<int>? pubkey
)

Creates a Pubkey from a byte array pubkey.

Returns null if pubkey is omitted.

Implementation

static Pubkey? tryFromUint8List(final Iterable<int>? pubkey) {
  return pubkey != null ? Pubkey.fromUint8List(pubkey) : null;
}