logWarning abstract method

void logWarning(
  1. String message, [
  2. Map<String, String>? extras
])

Use logWarning to produce a log that requires a special level of attention, since it might indicate an unexpected situation, or something that should not happen message is the most important piece of the log, and extras are attached information that can be added to expand the meaning and context of your log.

Implementation

void logWarning(String message, [Map<String, String>? extras]);