toSigner method

AccountMeta toSigner()

Create an AccountMeta instance indicating the account is a signer but not writable.

Implementation

AccountMeta toSigner() {
  return AccountMeta(publicKey: this, isSigner: true, isWritable: false);
}