printWarning function
Prints a warning message in yellow, used for non-critical issues that may require attention.
tag: The tag categorizing the warning (e.g., "DEPRECATED").message: The warning message to display.
Implementation
void printWarning(String tag, String message, [String icon = '⚡']) {
printDebug(
'${ForeColor.yellow}${"[$icon${BackColor.yellow}${ForeColor.black}${_formatInBrackets('WARNING', 16, false)}$reset${ForeColor.yellow}]${_formatInBrackets(tag)}: $message"}$reset');
}