props property

  1. @override
_$$_Dummy2Props$JsMap props
inherited

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;
  1. @override
void props=(Map value)
inherited

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