getByIds method

Future<List<T>> getByIds(
  1. List<Object> ids
)

Retorna uma lista de itens com base nos ids informados.

Implementation

Future<List<T>> getByIds(List<Object> ids) async {
  var resp = await requestService.makePost<List<T>, T>(getRequestModel(config.actions.getByIds, data: ids));
  return resp ?? <T>[];
}