onDraw property

void Function(WebGLDrawOptions? options)? get onDraw

Implementation

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

Implementation

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