WalletActionResult class

Represents the result of an action performed on the blockchain.

This class provides details about the pagination and the list of actions performed on the blockchain.

Annotations
  • @freezed

Constructors

WalletActionResult({required bool hasNextPage, required bool hasPrevPage, required num? nextPage, required num? prevPage, required num? page, required num totalDocs, required num limit, required num totalPages, required num pagingCounter, @WalletActionsConverter() @JsonKey(name: 'docs') required List<WalletAction> actions})
Constructs a WalletActionResult instance.
factory
WalletActionResult.fromJson(Map<String, dynamic> json)
Creates a WalletActionResult object from a JSON map.
factory

Properties

actions List<WalletAction>
no setterinherited
copyWith → $WalletActionResultCopyWith<WalletActionResult>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasNextPage bool
no setterinherited
hasPrevPage bool
no setterinherited
limit num
no setterinherited
nextPage num?
no setterinherited
page num?
no setterinherited
pagingCounter num
no setterinherited
prevPage num?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalDocs num
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