getAllPreconditions method Null safety

Iterable<Precondition> getAllPreconditions()

Returns all known preconditions in this repository.

Implementation

Iterable<Precondition> getAllPreconditions() {
  var list = _known.values.toList();
  return List.unmodifiable(list);
}