onContextRestored property

void Function(WebGLStateOptions? options)? get onContextRestored

Implementation

void Function(WebGLStateOptions? options)? get onContextRestored =>
    callMethod(getProperty(this, 'onContextRestored'), 'bind', [this]);
set onContextRestored (void value(WebGLStateOptions? options)?)

Implementation

set onContextRestored(void Function(WebGLStateOptions? options)? value) {
  setProperty(
      this, 'onContextRestored', value == null ? null : allowInterop(value));
}