part of 'notes_bloc.dart'; sealed class NotesEvent {} /// Fa partire lo stream e gestisce sia il caricamento iniziale che il realtime class SubscribeToNotesRequested extends NotesEvent {} class NoteDeletedRequested extends NotesEvent { final String noteId; NoteDeletedRequested(this.noteId); } /// Salva o aggiorna una nota class NoteSavedRequested extends NotesEvent { final NoteModel note; NoteSavedRequested(this.note); }