This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more advice away from predicate (#233)
Add a best practice entry and expand the dartdoc for `predicate` to mention that the failure messages are not as detailed as `TypeMatcher`, and that the latter is preferred when the value can fail in more than one way. Add a generic argument to the example usage - most cases should prefer to include a generic. Cleanup an unnecessary private `typedef` with a single usage.
- Loading branch information
Showing
2 changed files
with
26 additions
and
6 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