failAll method

void failAll(
  1. List<String> names,
  2. int pos
)

Implementation

@pragma('vm:prefer-inline')
void failAll(List<String> names, int pos) {
  if (failPos > pos) {
    return;
  }

  if (failPos < pos) {
    failPos = pos;
    failures = [];
  }

  failures.addAll(names);
}