WebViewViewModel.copy constructor
WebViewViewModel.copy(
- int id,
- int instanceId,
- String className,
- RenderContext<
LoadInstanceContext> context, - WebViewViewModel viewModel,
Implementation
WebViewViewModel.copy(
int id,
int instanceId,
String className,
RenderContext context,
WebViewViewModel viewModel,
) : super.copy(id, instanceId, className, context, viewModel) {
tempUrl = viewModel.tempUrl;
tempUserAgent = viewModel.tempUserAgent;
controller = viewModel.controller;
onLoadStartEventEnable = viewModel.onLoadStartEventEnable;
onLoadEndEventEnable = viewModel.onLoadEndEventEnable;
onErrorEventEnable = viewModel.onErrorEventEnable;
onLoadEventEnable = viewModel.onLoadEventEnable;
}