ethPrivateKey property
EthPrivateKey
get
ethPrivateKey
Returns the EthPrivateKey associated with this signer.
For Signer.eth, it simply unwraps the stored key; for Signer.raw,
it constructs a new EthPrivateKey from the raw 32-byte private key.
Implementation
EthPrivateKey get ethPrivateKey =>
when(raw: (value) => EthPrivateKey(value), eth: (value) => value);