verify method

void verify()

Throws a DesignInventoryError naming every problems line; a look's test calls it.

Implementation

void verify() {
  final found = problems;
  if (found.isNotEmpty) throw DesignInventoryError(look, found);
}