get method
Object?
get(
- Token name
)
override
Implementation
@override
Object? get(Token name) {
switch (name.lexeme) {
case 'loadUrl':
return _controller.loadUrl;
case 'loadHtmlString':
return _controller.loadHtmlString;
case 'runJavascript':
return _controller.runJavascript;
case 'goBack':
return _controller.goBack;
case 'canGoBack':
return _controller.canGoBack;
case 'goForward':
return _controller.goForward;
case 'canGoForward':
return _controller.canGoForward;
case 'reload':
return _controller.reload;
case 'clearCache':
return _controller.clearCache;
case 'getTitle':
return _controller.getTitle;
case 'runJavascriptReturningResult':
return _controller.runJavascriptReturningResult;
}
throw "Unknown property: ${name.lexeme}";
}