containsAll method
Returns true
if Iterable contains all elements
.
Returns false
if itself is Null.
Iterableにelements
がすべて含まれている場合true
を返します。
自身がNullな場合はfalse
を返します。
Implementation
bool containsAll(Iterable<Object?> elements) {
if (this == null) {
return false;
}
return elements.every((element) => this!.contains(element));
}