SyntaxError constructor

SyntaxError([
  1. String? message,
  2. ErrorOptions? options
])

Implementation

factory SyntaxError([
  _i2.String? message,
  _i12.ErrorOptions? options,
]) =>
    _i6.callConstructor(
      _declaredSyntaxError,
      [
        message ?? _i5.undefined,
        options ?? _i5.undefined,
      ],
    );