ActionResult constructor
ActionResult({})
Constructs an ActionResult instance.
Parameters:
hasNextPage
– A boolean representing whether there is a next page of actions.hasPrevPage
– A boolean representing whether there is a previous page of actions.nextPage
– A number representing the next page number.prevPage
– A number representing the previous page number.page
– A number representing the current page number.totalPages
– A number representing the total number of pages.actions
– A list of Action instances associated with the ActionResult.
Implementation
factory 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,
}) = _ActionResult;