notifications top-level property
You can be notified when Nodes are added or removed by
IncrementalDOM by specifying functions for
notifications.nodesCreated
and
notifications.nodesDeleted
. If there are added or
removed nodes during a patch operation, the appropriate
function will be called at the end of the patch with
the added or removed nodes.
Implementation
final notifications = Notifications();