addPassIf method

bool addPassIf({
  1. required bool test,
})
inherited

Implementation

bool addPassIf({required bool test}) {
  if(test) {
    errors.addPass();
  }
  return test;
}