toSignerAndWritable method

AccountMeta toSignerAndWritable()

Create an AccountMeta instance indicating the account is both a signer and writable.

Implementation

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