clear method

Future clear()

Implementation

Future clear() async {
  storageDatabase.onClear.add(() async {
    await storageDatabase.collection('api').set({});
  });
  await storageDatabase.collection('api').delete();
}