PayInvoiceResponse class
Represents the result of an pay_invoice response.
- Inheritance
-
- Object
- NwcResponse
- PayInvoiceResponse
Constructors
- PayInvoiceResponse({required String preimage, required String resultType, required int feesPaid})
-
PayInvoiceResponse.deserialize(Map<
String, dynamic> input) -
factory
Properties
- errorCode ↔ String?
-
The error code.
getter/setter pairinherited
- errorMessage ↔ String?
-
The error message.
getter/setter pairinherited
- feesPaid → int
-
The fees paid for the invoice (in MSATs).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- preimage → String
-
The preimage of the paid invoice.
final
- resultType → String
-
The type of the result.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deserializeError(
Map< String, dynamic> input) → void -
inherited
-
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