ActionResult class
A class representing the result of an action performed on the blockchain.
It contains information about whether there's a next page of actions, the next page number, and a list of actions.
- Annotations
-
- @freezed
Constructors
-
ActionResult({required bool hasNextPage, required bool hasPrevPage, required num? nextPage, required num? prevPage, required num? page, required num totalPages, @ActionsConverter() @JsonKey(name: 'docs') required List<
Action> actions}) -
Constructs an ActionResult instance.
factory
-
ActionResult.fromJson(Map<
String, dynamic> json) -
Creates an ActionResult object from a JSON object.
factory
Properties
-
actions
→ List<
Action> -
no setterinherited
-
copyWith
→ $ActionResultCopyWith<
ActionResult> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasNextPage → bool
-
no setterinherited
- hasPrevPage → bool
-
no setterinherited
- nextPage → num?
-
no setterinherited
- page → num?
-
no setterinherited
- prevPage → num?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalPages → num
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited