containsAll method

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

Returns true if Iterable contains all elements.

Returns false if itself is Null.

Iterableelementsがすべて含まれている場合trueを返します。

自身がNullな場合はfalseを返します。

Implementation

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