Open PackRuble opened 10 months ago
I think to clean up the linked resources altogether, we might as well not create an extra object. Let me remind you of its current form:
mixin WatcherImpl on Cardoteka implements Watcher { final _watchers = <Card, List<ValueCallback>>{}; //... }
This would add unnecessary checks to the attach method (and WatcherImplDebug), but it seems like the right solution.
attach
WatcherImplDebug
I think to clean up the linked resources altogether, we might as well not create an extra object. Let me remind you of its current form:
This would add unnecessary checks to the
attach
method (andWatcherImplDebug
), but it seems like the right solution.