WEBGLLoseContext constructor

WEBGLLoseContext({
  1. void loseContext()?,
  2. void restoreContext()?,
})

Implementation

factory WEBGLLoseContext({
  void Function()? loseContext,
  void Function()? restoreContext,
}) =>
    WEBGLLoseContext._(
      loseContext: loseContext == null ? null : _i4.allowInterop(loseContext),
      restoreContext:
          restoreContext == null ? null : _i4.allowInterop(restoreContext),
    );