warning method

String? warning(
  1. Object? message, {
  2. DateTime? time,
  3. Object? error,
  4. StackTrace? stackTrace,
})

Implementation

String? warning(
  Object? message, {
  DateTime? time,
  Object? error,
  StackTrace? stackTrace,
}) =>
    _log(
      Level.WARNING,
      message,
      time: time,
      error: error,
      stackTrace: stackTrace,
    );