delete method

Future<void> delete()

Implementation

Future<void> delete() async {
  await logger.measure('Delete', () => config.delete());

  _store.clear();
  // Re-initialize the root of the store to the default persistor key.
  _store.write(ValueStore.root, Persistor.defaultKey.value);
}