Error constructor

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

Implementation

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