copyProps method

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

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

Implementation

@override
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);
}