-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ArgumentError.checkNotNull utility
In the places where other utilities like `RangeError.checkNotNegative` are used it reads nicer to call through a similar signature than to follow a conditional with the utility. Change-Id: Idd89b2934020fb55e57a22c39773fd7879d1c28f Reviewed-on: https://dart-review.googlesource.com/c/81287 Commit-Queue: Nate Bosch <[email protected]> Reviewed-by: Lasse R.H. Nielsen <[email protected]>
- Loading branch information
1 parent
0170b8d
commit 655310d
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters