EventsBlocksRequest class

EventsBlocksRequest is utilized to fetch a sequence of BlockEvents indicating which blocks were added and removed from storage to reach the current state.

Constructors

EventsBlocksRequest(NetworkIdentifier network_identifier, int? offset, int? limit)
EventsBlocksRequest.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
limit int?
limit is the maximum number of events to fetch in one call. The implementation may return <= limit events.
getter/setter pair
network_identifier NetworkIdentifier
getter/setter pair
offset int?
offset is the offset into the event stream to sync events from. If this field is not populated, we return the limit events backwards from tip. If this is set to 0, we start from the beginning.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited