warningLogOf function Null safety

Matcher warningLogOf(
  1. dynamic messageOrMatcher
)

Matches LogRecord of Level.WARNING where message is messageOrMatcher.

Implementation

Matcher warningLogOf(dynamic messageOrMatcher) =>
    _LogRecordMatcher(Level.WARNING, messageOrMatcher);