isCollectionEmpty static method

Future<bool> isCollectionEmpty(
  1. String key
)

Checks if a collection is empty

Implementation

static Future<bool> isCollectionEmpty(String key) async =>
    (await readCollection(key)).isEmpty;