complete method
Pass completion to the observer.
Implementation
@override
void complete() {
_hasCompleted = true;
if (_hasValue) {
super.next(_value);
super.complete();
}
}
Pass completion to the observer.
@override
void complete() {
_hasCompleted = true;
if (_hasValue) {
super.next(_value);
super.complete();
}
}