@protected Future<void> write(String? value) async { if (value != null) { await storage.write(key: key, value: value); } else { await clear(); } }