props property
A typed props object corresponding to the current untyped props Map (unwrappedProps).
Created using typedPropsFactory and cached for each Map instance.
Implementation
@override
TProps get props {
var unwrappedProps = this.unwrappedProps;
var typedProps = _typedPropsCache[unwrappedProps];
if (typedProps == null) {
typedProps = typedPropsFactory(inReactDevMode ? _WarnOnModify(unwrappedProps, true) : unwrappedProps);
_typedPropsCache[unwrappedProps] = typedProps;
}
return typedProps;
}
Equivalent to setting unwrappedProps, but needed by react-dart to effect props changes.
Implementation
@override
set props(Map value) => super.props = value;