ECPublicKey.fromXOnly constructor
ECPublicKey.fromXOnly(
- Uint8List xcoord
Constructs a public key from a 32-byte X coordinate where the Y coordinate is made even.
Implementation
ECPublicKey.fromXOnly(Uint8List xcoord) : this(
Uint8List.fromList([2, ...checkBytes(xcoord, 32, name: "xcoord")]),
);