debug static method

bool debug(
  1. String msg
)

In Release mode, the routine of this method will be bypassed. This method will operate only in debug and profile modes

Implementation

static bool debug(final String msg) {
  assert(() {
    print(msg);
    return true;
  }());
  return true;
}