exists method
Check if key exists in local storage
Implementation
@override
/// Check if key exists in local storage
Future<bool> exists(String key) async {
try {
File file = File(keyPath(key));
return await file.exists();
} on Exception catch (e) {
debugPrint(e.toString());
return false;
}
}