description

# containsAll method

bool containsAll(

1. Iterable<Object?> collection

)
inherited

Whether this set contains all the elements of `other`.

    final characters = <String>{'A', 'B', 'C'};
    final containsAB = characters.containsAll({'A', 'B'});
    print(containsAB); // true
    final containsAD = characters.containsAll({'A', 'D'});
    print(containsAD); // false

## Implementation

    bool containsAll(Iterable<Object?> collection) =>
        readClasses().containsAll(collection);