import 'package:flutter_secure_storage/flutter_secure_storage.dart'; class StorageService { static late String appDocsDir; static late String appTempsDir; static const FlutterSecureStorage _storage = FlutterSecureStorage(); static Future setValue({ required String key, required dynamic value, }) async { await _storage.write(key: key, value: value); } static Future getValue({required String key}) async { final result = await _storage.read(key: key); return result; } static Future delete({required String key}) async { _storage.delete(key: key); } }