checksum method

Future<Map<String, dynamic>?> checksum()

Returns a checksum for the specified collection

Implementation

Future<Map<String, dynamic>?> checksum() async {
  Map<String, dynamic>? res;
  try {
    var request = client.prepareRequest('/_api/collection/${name}/checksum',
        methode: 'get');
    res = await client.exec(request);
  } catch (e) {
    print(e);
  }
  return res;
}