Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ??= over contains and
!
for map defaulting (#3241)
Avoid a non-null assertion by chaining access from a null conditional assignment instead of separately inserting to the map, then reading it back out for further operations. Also refactor an iterable `.toList()` to a List literal.
- Loading branch information
Showing
3 changed files
with
9 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
## 4.0.5-dev | ||
|
||
## 4.0.4 | ||
|
||
- Allow the latest analyzer. | ||
|
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