getList method

Future<AppResponse<List<Customer>>> getList(
  1. {int page = 1,
  2. int count = 10}
)
override

Implementation

Future<AppResponse<List<Customer>>> getList(
    {int page = 1, int count = 10}) async {
  return AppResponse.named(
      data: _list.skip(count * page).take(count).toList());
}