deleteNote

abstract fun deleteNote(update: ProjectUpdate? = null, note: Note, onDelete: () -> Unit)

Method to delete a note

Parameters

update

The update owner of the note

note

The note to delete

onDelete

The action to execute when the note has been deleted