props property
A typed view into the component's current JS props object.
Created using typedPropsFactoryJs and updated whenever props changes.
Implementation
@override
_$$_Dummy2Props$JsMap get props => _cachedTypedProps;
Implementation
@override
set props(Map value) {
assert(
getBackingMap(value) is JsBackedMap,
'Component2.props should never be set directly in '
'production. If this is required for testing, the '
'component should be rendered within the test. If '
'that does not have the necessary result, the last '
'resort is to use typedPropsFactoryJs.');
super.props = value;
_cachedTypedProps =
typedPropsFactoryJs(getBackingMap(value) as JsBackedMap);
}