registerReadOnlyRx<T> method
Register a ReadOnlyRx to be automatically disposed
Implementation
@protected
void registerReadOnlyRx<T>(ReadOnlyRx<T> readOnlyRx) {
if (_disposed) {
throw StateError('Cannot register ReadOnlyRx in disposed controller');
}
_readOnlyRx.add(readOnlyRx);
}