On this page
ContextEvent factory constructor
ContextEvent(Source
@DomName('WebGLContextEvent.WebGLContextEvent')
@DocsEditable()
factory ContextEvent(String type, [Map eventInit]) {
if (eventInit != null) {
var eventInit_1 = convertDartToNative_Dictionary(eventInit);
return _blink.BlinkWebGLContextEvent.instance
.constructorCallback_2_(type, eventInit_1);
}
return _blink.BlinkWebGLContextEvent.instance.constructorCallback_1_(type);
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-web_gl/ContextEvent/ContextEvent.html