Signature for a function that takes an Object and returns true to continue, or false to cancel.
true
false
The child argument must not be null.
child
typedef CancelableObjectVisitor = bool Function(Object child);