GetBalanceResponse class

Represents the result of a 'get_balance' response.

Inheritance

Constructors

GetBalanceResponse({required String resultType, required int balanceMsats, int? maxAmount, String? budgetRenewal})
GetBalanceResponse.deserialize(Map<String, dynamic> input)
factory

Properties

balanceMsats int
The current balance.
final
balanceSats int
no setter
budgetRenewal String?
The budget renewal information.
final
errorCode String?
The error code.
getter/setter pairinherited
errorMessage String?
The error message.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
maxAmount int?
The maximum amount.
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