update method
Method to update data in the document.
Parameters:
data
: The data to be updated in the document.
Example:
documentRef.update({'age': 31});
Implementation
void update(Data data) => database._u(key, data);
Method to update data in the document.
Parameters:
data
: The data to be updated in the document.Example:
documentRef.update({'age': 31});
void update(Data data) => database._u(key, data);