getContext method

dynamic getContext(
  1. OffscreenRenderingContextId contextId, [
  2. dynamic options
])

Implementation

dynamic getContext(OffscreenRenderingContextId contextId,
        [dynamic options]) =>
    js_util.callMethod(this, 'getContext', [contextId.value, options]);