replace method
Replaces the current item by item
in the Realtime Database.
The item to replace is identified by its id.
Note that notify
has no effect here and should not be used.
Implementation
@override
void replace(T item, {bool notify = true}) {
assert(notify, 'Notify has no effect here and should not be used.');
_dataRef.child((item as ItemSerializable).id).set(item.serialize());
}