run method
Executes the request for the current page and page size.
Implementation
Future<void> run() async {
loading.value = true;
try {
final result = await service(page.value, pageSize.value);
data.value = result.items;
total.value = result.total;
} catch (e) {
error.value = e;
} finally {
loading.value = false;
}
}