enqueue<T> method
Enqueues an inherited property resolver callback.
The callback will receive the InheritedProperties being resolved.
As a special case, declare T=BuildContext?
to receive the BuildContext.
Implementation
void enqueue<T>(
InheritanceResolverCallback<T> callback, [
T? input,
]) {
final item = _InheritanceResolverCallbackWithInput(callback, input as T);
final list = _callbacks ??= [];
list.add(item);
}