cvAssert function

void cvAssert(
  1. bool condition, [
  2. String? msg
])

Implementation

void cvAssert(bool condition, [String? msg]) {
  if (!condition) throw CvdException(msg ?? 'Assertion failed');
}