throwSyntaxError method

JSValue throwSyntaxError(
  1. String fmt, {
  2. bool autoDispose = true,
})

Implementation

JSValue throwSyntaxError(String fmt, {bool autoDispose = true}) =>
    JSValue.ptr(
      this,
      JS_ThrowSyntaxError(_ref, fmt.toNativeUtf8()),
      autoDispose: autoDispose,
    );