clear method

Future<void> clear()
inherited

clear is used to wipe or invalidate the cache of a HydratedBloc. Calling clear will delete the cached state of the bloc but will not modify the current state of the bloc.

Implementation

Future<void> clear() => HydratedBloc.storage.delete(storageToken);