withPath method
Returns a context sharing services but using a different structural path.
Implementation
JsUiRenderContext withPath(String path) {
return JsUiRenderContext(
buildNode: _buildNode,
buildNodeAtPath: _buildNodeAtPath,
onUiEvent: _onUiEvent,
eventDispatcher: _eventDispatcher,
buildContext: buildContext,
canvasSceneRegistry: canvasSceneRegistry,
snapshotRegistry: snapshotRegistry,
performanceController: performanceController,
frameScheduler: frameScheduler,
networkResourceBaseUri: networkResourceBaseUri,
path: path,
);
}