PaginationResponse<T extends Object>.value constructor
PaginationResponse<T extends Object>.value ({})
Constructs a PaginationResponse instance with a successful status and data.
result
: List of items returned in the response.
snapshot
: Snapshot representing the current state of the data.
Implementation
PaginationResponse.value({
required List<T>? result,
required Object? snapshot,
}) : this._(status: Status.ok, result: result, snapshot: snapshot);