getStats method

Future<Stats> getStats()

Get global dataset statistics from ISBNdb.

Implementation

Future<Stats> getStats() async {
  const path = "stats";
  final response = await _get(path);
  return _parseModel(
    method: "GET",
    path: path,
    parser: () => Stats.fromJson(response),
  );
}