logWarning method

void logWarning({
  1. String? tag,
  2. Object? error,
  3. StackTrace? stackTrace,
  4. Zone? zone,
})

Implementation

void logWarning(
    {String? tag, Object? error, StackTrace? stackTrace, Zone? zone}) {
  Logger(tag ?? 'TAG').log(Level.WARNING, this, error, stackTrace, zone);
}