Assert static method

void Assert(
  1. bool condition,
  2. String caller,
  3. String message
)
Asserts that the specified condition if true. Assertion. The caller. The message to use if assertion fails.

Implementation

static void Assert(bool condition, String caller, String message) {
  assert(condition, "[$caller] $message");
}