ContextEvent(String type, [ Map eventInit ])

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);
}