NwcNotification constructor

NwcNotification({
  1. required String type,
  2. required String invoice,
  3. String? description,
  4. String? descriptionHash,
  5. required String preimage,
  6. required String paymentHash,
  7. required int amount,
  8. required int feesPaid,
  9. required int createdAt,
  10. int? expiresAt,
  11. required int settledAt,
  12. required Map<String, dynamic>? metadata,
})

Implementation

NwcNotification({
  required this.type,
  required this.invoice,
  this.description,
  this.descriptionHash,
  required this.preimage,
  required this.paymentHash,
  required this.amount,
  required this.feesPaid,
  required this.createdAt,
  this.expiresAt,
  required this.settledAt,
  required this.metadata,
});