toKeys static method

List<Ed25519PublicKey> toKeys(
  1. List<Uint8List> keys
)

Helper method to convert list of byte[]s to list of Ed25519PublicKeys.

Implementation

static List<Ed25519PublicKey> toKeys(List<Uint8List> keys) {
  return keys.map((key) => Ed25519PublicKey(bytes: key)).toList();
}