add method
Adds an item to the Realtime Database.
Note that notify
has no effect here and should not be used.
Implementation
@override
void add(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());
_availableIdsRef.child(item.id).set(true);
}