$warn method
Implementation
void $warn({String? tag, StackTrace? stackTrace, int level = 2}) {
w(this, tag: tag, stackTrace: stackTrace, level: level);
}
void $warn({String? tag, StackTrace? stackTrace, int level = 2}) {
w(this, tag: tag, stackTrace: stackTrace, level: level);
}