equals<T> method

bool equals<T>(
  1. T expected
)

Check if state equals expected value

Implementation

bool equals<T>(T expected) => harness.getState<T>(key) == expected;