contains method

bool contains(
  1. T dataSet
)

Returns true if dataSet is one of the sets, compared with ==.

Implementation

bool contains(T dataSet) => dataSets.any((it) => it == dataSet);