NwcNotification class

Constructors

NwcNotification.new({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})
NwcNotification.fromMap(String notificationType, Map<String, dynamic> map)
factory

Properties

amount int
getter/setter pair
createdAt int
getter/setter pair
description String?
getter/setter pair
descriptionHash String?
getter/setter pair
expiresAt int?
getter/setter pair
feesPaid int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
invoice String
getter/setter pair
isHoldInvoiceAccepted → dynamic
no setter
isIncoming → dynamic
no setter
isPaymentReceived → dynamic
no setter
isPaymentSent → dynamic
no setter
metadata Map<String, dynamic>?
getter/setter pair
notificationType String
getter/setter pair
paymentHash String
getter/setter pair
preimage String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settledAt int?
getter/setter pair
settleDeadline int?
getter/setter pair
type String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

kHoldInvoiceAccepted → const String
kPaymentReceived → const String
kPaymentSent → const String