contains method

bool contains(
  1. T data
)

whether data is selected

Implementation

bool contains(T data) => _state.value.contains(data);