expectSwipeState method
Asserts that the SwipeActionCell matched by finder is in the expected state.
Implementation
void expectSwipeState(Finder finder, SwipeState expected) {
final state = this.state<SwipeActionCellState>(finder);
final actual = state.currentSwipeState;
expect(actual, equals(expected),
reason: 'Expected $expected but found $actual');
}