addNested method
Implementation
void addNested(ReactiveModel nested, {Symbol? field}) {
if (_nestedModels.contains(nested)) return;
_nestedModels.add(nested);
nested.addListener(() {
if (debugNotify) {
debugPrint(
'Nested change: ${nested.runtimeType} -> ${field ?? #nested}',
);
}
notifyListeners(field ?? #nested);
});
}