printScreen static method

void printScreen(
  1. ScreenDebugInfo info
)

Prints the screen debug trace only when assertions are enabled.

Implementation

static void printScreen(ScreenDebugInfo info) {
  assert(() {
    debugPrint(formatScreenTrace(info));
    return true;
  }());
}