list method

Future<List<T>> list(
  1. TFilter filter
)

Implementation

Future<List<T>> list(TFilter filter) async {
  return dio
      .post(
        '/list',
        data: filter.toJSON(),
      )
      .then(
        (response) => response.bodyAsList<T>(),
      );
}