onAdd method
Execute handler
everytime a model is added to this collection.
Implementation
StreamSubscription<T> onAdd(void Function(T) handler) {
return addEventsController.stream.listen((model) => handler(model));
}
Execute handler
everytime a model is added to this collection.
StreamSubscription<T> onAdd(void Function(T) handler) {
return addEventsController.stream.listen((model) => handler(model));
}