hasNoLogs top-level property

Matcher hasNoLogs
final

A matcher to verify that a callback function does not emit any logs.

In the case the actual value is a callback that is run, any errors caused by the callback will be caught and ignored.

Related: logsToConsole

Implementation

final Matcher hasNoLogs = _LoggingFunctionMatcher(isEmpty);