remove method

Future<void> remove()

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

The effect of this delete will be visible immediately and the corresponding events (onValue, onChildAdded, etc.) will be triggered. Synchronization of the delete to the Firebase servers will also be started, and the Future returned by this method will complete after the synchronization has finished.

Implementation

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