setSource method
- @ControllerProps(NodeProps.kSource)
- WebViewViewModel renderViewModel,
- VoltronMap? source
Implementation
@ControllerProps(NodeProps.kSource)
void setSource(WebViewViewModel renderViewModel, VoltronMap? source) {
String? src = source?.get<String>('uri');
if (src != null && src != renderViewModel.src) {
renderViewModel.src = src;
}
}