final SecureStorage secureStorageShared = FakeSecureStorage(); abstract class SecureStorage { Future read({required String key}); Future write({required String key, required String? value}); Future delete({required String key}); // Legacy Future readNoIOptions({required String key}); } class FakeSecureStorage extends SecureStorage { @override Future read({required String key}) async => null; @override Future write({required String key, required String? value}) async {} @override Future delete({required String key}) async {} @override Future readNoIOptions({required String key}) async => null; }