toReadOnly method
Create an AccountMeta instance indicating the account is neither a signer nor writable.
Implementation
AccountMeta toReadOnly() {
return AccountMeta(publicKey: this, isSigner: false, isWritable: false);
}
Create an AccountMeta instance indicating the account is neither a signer nor writable.
AccountMeta toReadOnly() {
return AccountMeta(publicKey: this, isSigner: false, isWritable: false);
}