isElementOfTypeV2 function
Returns true
if element
is a ReactElement
that is of the ReactComponentFactoryProxy.type of the provided componentFactory
.
Implementation
bool isElementOfTypeV2(dynamic element, ReactComponentFactoryProxy componentFactory) {
return _isElementOfType(element, getComponentTypeV2(componentFactory));
}