copyWith method
Creates a copy of this class applying the provided parameters to the new instance.
Implementation
AccountMeta copyWith({
final Pubkey? pubkey,
final bool? isSigner,
final bool? isWritable,
}) {
return AccountMeta(
pubkey ?? this.pubkey,
isSigner: isSigner ?? this.isSigner,
isWritable: isWritable ?? this.isWritable,
);
}