delete method

void delete()

Method to delete the document.

Example:

documentRef.delete();

Implementation

void delete() => database._d(key);