warningWithContext method

void warningWithContext(
  1. String message,
  2. Map? context, [
  3. Object? error,
  4. StackTrace? stackTrace,
])

Implementation

void warningWithContext(String message, Map? context,
        [Object? error, StackTrace? stackTrace]) =>
    log(
      Level.WARNING,
      LogRecord(
        Level.WARNING,
        message,
        fullName,
        error,
        stackTrace,
        Zone.current,
        context,
      ),
    );