expectAllEqual<T> static method
Test multiple reactive values for consistency
Implementation
static void expectAllEqual<T>(List<Rx<T>> rxValues, T expectedValue) {
for (int i = 0; i < rxValues.length; i++) {
if (rxValues[i].value != expectedValue) {
throw Exception(
'Rx at index $i has value ${rxValues[i].value}, expected $expectedValue');
}
}
}