nextPage method
Implementation
Future<UsersRepositoryState> nextPage(bool shouldReload) async {
if (shouldReload) {
_lastDocument = null;
}
final tmpState = await _fetchUsers();
state = AsyncValue.data(tmpState);
return tmpState;
}
Future<UsersRepositoryState> nextPage(bool shouldReload) async {
if (shouldReload) {
_lastDocument = null;
}
final tmpState = await _fetchUsers();
state = AsyncValue.data(tmpState);
return tmpState;
}