remove method

Future<void>? remove()

Remove the data at this Firebase Database location. Any data at child locations will also be deleted.

The effect of the delete will be visible immediately and the corresponding events will be triggered. Synchronization of the delete to the Firebase Database servers will also be started.

remove() is equivalent to calling set(null)

Implementation

Future<void> remove() => set(null);