NwcNotification class
Constructors
-
NwcNotification({required String type, required String invoice, String? description, String? descriptionHash, required String preimage, required String paymentHash, required int amount, required int feesPaid, required int createdAt, int? expiresAt, required int settledAt, required Map<
String, dynamic> ? metadata}) -
NwcNotification.fromMap(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
- isIncoming → dynamic
-
no setter
-
metadata
↔ Map<
String, dynamic> ? -
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
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- PAYMENT_RECEIVED → const String
- PAYMENT_SENT → const String