GetLatestLedgerResponse class Null safety
See: https://soroban.stellar.org/api/methods/getLatestLedger
- Inheritance
-
- Object
- SorobanRpcResponse
- GetLatestLedgerResponse
Constructors
-
GetLatestLedgerResponse(Map<
String, dynamic> jsonResponse) -
GetLatestLedgerResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- error ↔ SorobanRpcErrorResponse?
-
read / write, inherited
- hashCode → int
-
The hash code for this object.
read-only, inherited
- id ↔ String?
-
hash of the latest ledger as a hex-encoded string.
read / write
- isErrorResponse → bool
-
read-only, inherited
-
jsonResponse
↔ Map<
String, dynamic> -
read / write, inherited
- protocolVersion ↔ String?
-
Stellar Core protocol version associated with the latest ledger.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sequence ↔ int?
-
Sequence number of the latest ledger.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited