NwcNotification constructor
NwcNotification({
- required String notificationType,
- required String type,
- required String invoice,
- String? description,
- String? descriptionHash,
- String? preimage,
- required String paymentHash,
- required int amount,
- int? feesPaid,
- required int createdAt,
- int? expiresAt,
- int? settledAt,
- int? settleDeadline,
- Map<
String, dynamic> ? metadata,
Implementation
NwcNotification({
required this.notificationType,
required this.type,
required this.invoice,
this.description,
this.descriptionHash,
this.preimage,
required this.paymentHash,
required this.amount,
this.feesPaid,
required this.createdAt,
this.expiresAt,
this.settledAt,
this.settleDeadline,
this.metadata,
});