prints function Null safety
- dynamic matcher
Matches a Function that prints text that matches
matcher may be a String or a Matcher.
This only tracks text printed using the print function.
This returns an
AsyncMatcher, so expect won't complete until the matched
Matcher prints(matcher) => _Prints(wrapMatcher(matcher));