clear method

Future<void> clear()

Deletes all the DtoMyUsers stored in the database.

Implementation

Future<void> clear() async {
  _cache.clear();

  await safe((db) async {
    await db.delete(db.myUsers).go();
  }, tag: 'my_user.clear()');
}