contains method

void contains(
  1. T value
)

Checks that the tested iterable contains value.

Implementation

void contains(T value) {
  test.expect(this.value, test.contains(value));
}