copyProps method
Map
copyProps({
- bool omitReservedReactProps = true,
- bool onlyCopyDomProps = false,
- Iterable? keysToOmit,
- 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);
}