publicKey static method

CustomLayout publicKey([
  1. String? property
])

SolAddress values.

Implementation

static CustomLayout publicKey([String? property]) {
  return CustomLayout<List<int>, SolAddress>(
      layout: blob(32),
      decoder: (data) => SolAddress.uncheckBytes(data),
      encoder: (src) => src.toBytes(),
      property: property);
}