clear method

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

Use with caution

Clears all data stored in the repository.

Returns true if successful, otherwise false.

Implementation

@override
Future<bool> clear() async {
  try {
    await storage.clear();
    return true;
  } catch (e) {
    debugPrint('$logPrefix exception: $e');
    return false;
  }
}