visibilityEvent method
Implementation
void visibilityEvent(html.Event e) {
if (html.document.visibilityState == 'hidden')
_channel.invokeMethod('lock', 'web');
}
void visibilityEvent(html.Event e) {
if (html.document.visibilityState == 'hidden')
_channel.invokeMethod('lock', 'web');
}