copyProps method

Map copyProps({
  1. bool omitReservedReactProps = true,
  2. bool onlyCopyDomProps = false,
  3. Iterable? keysToOmit,
  4. Iterable<Iterable>? keySetsToOmit,
})

Returns a copy of this component's props with React props optionally omitted, and with the specified keysToOmit and keySetsToOmit omitted.

Implementation

Map copyProps({bool omitReservedReactProps = true, bool onlyCopyDomProps = false, Iterable? keysToOmit, Iterable<Iterable>? keySetsToOmit}) {
  return getPropsToForward(this.props,
      omitReactProps: omitReservedReactProps,
      onlyCopyDomProps: onlyCopyDomProps,
      keysToOmit: keysToOmit,
      keySetsToOmit: keySetsToOmit);
}