singleLiveEventSubject<T> method
Builds subject for SingleLiveEvents. Is auto-closed on close method.
Implementation
SingleLiveEventSubject<T> singleLiveEventSubject<T>() {
final result = _AutoCloseSingleLiveEventSubject<T>();
_compositeSubscription.add(result);
return result;
}