toggle method

void toggle()

Implementation

void toggle() {
  Debug().info("Show console: $_showConsole -> ${!_showConsole}");
  _showConsole = !_showConsole;
  notifyListeners();
}