count method

Future<int> count(
  1. TFilter filter
)

Implementation

Future<int> count(TFilter filter) async {
  return dio
      .post(
        '/count',
        data: filter.toJSON(),
      )
      .then(
        (response) => (response.data as num).toInt(),
      );
}