logWarning static method
Logs a warning message with optional flow tracking.
tag A short identifier for the log source.
message The detailed log message.
logFlow (Optional) Additional context about the log flow.
Implementation
static logWarning({
required String tag,
required String message,
LogFlow? logFlow,
}) {
_channel.invokeMethod(MethodNames.logWarning, {
'tag': tag,
'message': message,
'logFlow': logFlow?.toMap(),
});
}