expectDisposed<T> static method
Test that reactive values are disposed properly
Implementation
static void expectDisposed<T>(Rx<T> rx) {
if (!rx.isDisposed) {
throw Exception('Expected Rx to be disposed but it was not');
}
}