Skip to content

Make NullRejectionException constructor private #61054

Open
@srujzs

Description

@srujzs

It currently has a public constructor but I don't see a good reason to allow users to construct this exception themselves:

NullRejectionException(this.isUndefined);
.

Metadata

Metadata

Assignees

Labels

area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-js-interopIssues that impact all js interop

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions