TransactionSpendDeferredEvent constructor
TransactionSpendDeferredEvent({
- required String walletId,
- required String txid,
- required List<
Map< heldInputs,String, dynamic> > - List<
String> recipientAddresses = const [], - String paymentAmount = '0',
- int fee = 0,
- String? invoiceId,
- String? purpose,
- bool inferred = false,
- bool reactivated = false,
- String? supersedes,
- DateTime? recordedAt,
- String? eventId,
- DateTime? timestamp,
- int? version,
- Map<
String, dynamic> ? metadata,
Implementation
TransactionSpendDeferredEvent({
required String walletId,
required this.txid,
required List<Map<String, dynamic>> heldInputs,
List<String> recipientAddresses = const [],
this.paymentAmount = '0',
this.fee = 0,
this.invoiceId,
this.purpose,
this.inferred = false,
this.reactivated = false,
this.supersedes,
DateTime? recordedAt,
String? eventId,
DateTime? timestamp,
int? version,
Map<String, dynamic>? metadata,
}) : heldInputs = frozenMapList(heldInputs),
recipientAddresses = frozenList(recipientAddresses),
recordedAt = recordedAt ?? timestamp ?? DateTime.now(),
super(
walletId: walletId,
eventId: eventId,
timestamp: timestamp,
version: version,
metadata: metadata,
);