copyWith method
TransactionReceipt
copyWith({
- ModifierId? id,
- List<
TokenBox> ? newBoxes, - List<
SignatureContainer> ? signatures, - PolyAmount? fee,
- int? timestamp,
- Uint8List? messageToSign,
- List<
BoxId> ? boxesToRemove, - List<
Sender> ? from, - List? to,
- PropositionType? propositionType,
- Latin1Data? data,
- bool? minting,
- bool? status,
- String? txType,
- ModifierId? blockId,
- BlockNum? blockNumber,
Implementation
TransactionReceipt copyWith(
{ModifierId? id,
List<TokenBox>? newBoxes,
List<SignatureContainer>? signatures,
PolyAmount? fee,
int? timestamp,
Uint8List? messageToSign,
List<BoxId>? boxesToRemove,
List<Sender>? from,
List? to,
PropositionType? propositionType,
Latin1Data? data,
bool? minting,
bool? status,
String? txType,
ModifierId? blockId,
BlockNum? blockNumber}) {
return TransactionReceipt(
id: id ?? this.id,
newBoxes: newBoxes ?? this.newBoxes,
signatures: signatures ?? this.signatures,
fee: fee ?? this.fee,
timestamp: timestamp ?? this.timestamp,
messageToSign: messageToSign ?? this.messageToSign,
boxesToRemove: boxesToRemove ?? this.boxesToRemove,
from: from ?? this.from,
to: to ?? this.to,
propositionType: propositionType ?? this.propositionType,
data: data ?? this.data,
minting: minting ?? this.minting,
status: status ?? this.status,
txType: txType ?? this.txType,
blockId: blockId ?? this.blockId,
blockNumber: blockNumber ?? this.blockNumber);
}