getDebugFlag static method
Gets the state of a debug flag.
flag The debug flag to query DebugFlag.
Returns true if the debug flag is enabled, false otherwise.
Example:
bool infosOn = LocationWindow.getDebugFlag(DebugFlag.INFOS);
print("Debug flag INFOS enabled: $infosOn");
Implementation
static bool getDebugFlag(DebugFlag flag) => $prototype.getDebugFlag(flag);