IndexerView class
Constructors
- IndexerView({String? chain, String? height, String? id, String? lag, String? network, String? status, String? updatedAt})
- Returns a new IndexerView instance.
Properties
- chain ↔ String?
-
Chain is the chain this indexer indexes, as the indexer names it.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- height ↔ String?
-
Height is the latest INDEXED block height, as a decimal string. Absent when nothing has been indexed yet.
getter/setter pair
- id ↔ String?
-
ID identifies the indexer: its chain name, else its chain id, else the brand.
getter/setter pair
- lag ↔ String?
-
Lag is how far behind the chain HEAD this indexer is. The indexer REST does not expose the head, so it is always absent rather than a fabricated zero.
getter/setter pair
- network ↔ String?
-
Network is the deployment's network tier: mainnet, testnet or devnet.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
Status is "degraded" when /health explicitly reports unhealthy, else "active".
getter/setter pair
- updatedAt ↔ String?
-
UpdatedAt is the latest indexed block's timestamp, RFC 3339 UTC.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → IndexerView? -
Returns a new IndexerView instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< IndexerView> -
mapFromJson(
dynamic json) → Map< String, IndexerView> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< IndexerView> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.