set()
method is used on the Firestore Collection to store the data:update()
method is called on the toDoNote
reference, by passing the data, to update the record present on the Firestore Collection.delete()
method is used on the toDoNote
object to remove the currently selected task: