containsAll method

bool containsAll(
  1. Iterable<Object?> elements
)

Returns true if all of the given elements is in the list.

Implementation

bool containsAll(Iterable<Object?> elements) {
  if (this == null) {
    return false;
  }
  return elements.every((element) => this!.contains(element));
}