CompiledMessage class

Implementers
Annotations
  • @freezed

Constructors

CompiledMessage(ByteArray data)
factory
CompiledMessage.legacy({required MessageHeader header, required List<Ed25519HDPublicKey> accountKeys, required String recentBlockhash, required List<CompiledInstruction> instructions})
const
factory
CompiledMessage.v0({required MessageHeader header, required List<Ed25519HDPublicKey> accountKeys, required String recentBlockhash, required List<CompiledInstruction> instructions, required List<MessageAddressTableLookup> addressTableLookups})
const
factory

Properties

accountKeys List<Ed25519HDPublicKey>
no setterinherited
copyWith → $CompiledMessageCopyWith<CompiledMessage>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
no setterinherited
instructions List<CompiledInstruction>
no setterinherited
recentBlockhash String
no setterinherited
requiredSignatureCount int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version TransactionVersion
no setter

Methods

map<TResult extends Object?>({required TResult legacy(CompiledMessageLegacy value), required TResult v0(CompiledMessageV0 value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? legacy(CompiledMessageLegacy value)?, TResult? v0(CompiledMessageV0 value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult legacy(CompiledMessageLegacy value)?, TResult v0(CompiledMessageV0 value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult legacy(MessageHeader header, List<Ed25519HDPublicKey> accountKeys, String recentBlockhash, List<CompiledInstruction> instructions)?, TResult v0(MessageHeader header, List<Ed25519HDPublicKey> accountKeys, String recentBlockhash, List<CompiledInstruction> instructions, List<MessageAddressTableLookup> addressTableLookups)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toByteArray() ByteArray
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult legacy(MessageHeader header, List<Ed25519HDPublicKey> accountKeys, String recentBlockhash, List<CompiledInstruction> instructions), required TResult v0(MessageHeader header, List<Ed25519HDPublicKey> accountKeys, String recentBlockhash, List<CompiledInstruction> instructions, List<MessageAddressTableLookup> addressTableLookups)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? legacy(MessageHeader header, List<Ed25519HDPublicKey> accountKeys, String recentBlockhash, List<CompiledInstruction> instructions)?, TResult? v0(MessageHeader header, List<Ed25519HDPublicKey> accountKeys, String recentBlockhash, List<CompiledInstruction> instructions, List<MessageAddressTableLookup> addressTableLookups)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited