remove method
Prepares to remove the target object from this relation.
To apply changes, call applyToDb or put the object with the ToMany. For important details, see the notes about relations of Box.put.
Implementation
@override // note: to override, arg must be "Object", same as in the base class.
bool remove(Object? element) {
if (!_items.remove(element)) return false;
if (element != null) _track(element as EntityT, -1);
return true;
}