GetInfoResponse class
Represents the result of a 'get_info' response.
- Inheritance
-
- Object
- NwcResponse
- GetInfoResponse
Constructors
-
GetInfoResponse({required String resultType, required String alias, required String color, required String pubkey, required BitcoinNetwork network, required int block_height, required String block_hash, required List<
String> methods, required List<String> notifications}) -
GetInfoResponse.deserialize(Map<
String, dynamic> input) -
factory
Properties
- alias → String
-
final
- block_hash → String
-
final
- block_height → int
-
final
- color → String
-
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
-
methods
→ List<
String> -
final
- network → BitcoinNetwork
-
final
-
notifications
→ List<
String> -
final
- pubkey → String
-
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