clear method

  1. @override
Future<void> clear()
override

Frees up storage space — deletes all keys and values.

Implementation

@override
Future<void> clear() async {
  await _localStorage.delete();
}