watch method
Returns a StateNotifier which emits the latest value of this BelongsTo relationship.
Implementation
@override
DelayedStateNotifier<E?> watch() {
return _relationshipEventNotifier.map((e) {
return [DataGraphEventType.removeNode, DataGraphEventType.removeEdge]
.contains(e.type)
? null
: value;
});
}