addUnconsumedProps method
A prop modifier that passes a reference of a component's props to be updated with any unconsumed props.
Call within modifyProps like so:
class SomeCompositeComponent extends UiComponent<SomeCompositeComponentProps> {
  @override
  render() {
    return (SomeOtherWidget()..modifyProps(addUnconsumedProps))(
      props.children,
    );
  }
}
Related addUnconsumedDomProps
Implementation
void addUnconsumedProps(Map props) {
  // TODO: cache this value to avoid unnecessary looping
  var consumedPropKeys = consumedProps?.map((consumedProps) => consumedProps.keys) ?? const [];
  forwardUnconsumedProps(this.props, propsToUpdate: props,
      keySetsToOmit: consumedPropKeys);
}