write method
Implementation
Future<void> write(String key, String value) async {
if (!isReady) await init();
try {
_storage[key] = value;
await _saveToFile(key, value);
} catch (e) {
// Handle exceptions related to writing to secure storage
zprint('Error writing to secure storage: $e');
}
}