getAll method

Future<List> getAll({
  1. List<FiltroBase>? filtros,
})

Implementation

Future<List> getAll({List<FiltroBase>? filtros}) async {
  Modular.get<IAppController>().crescente = false;
  Modular.get<IAppController>().indexsort = 1;
  Response response = await cliente.post(urlapi,
      data: Criptografia.criptografar(json.encode(filtros ?? [])));
  return response.data as List;
}