subscribe method
Subscribe to the platform's popState
events.
Implementation
Object subscribe(
void Function(Object) onNext, [
void Function(Object)? onThrow,
void Function()? onReturn,
]) {
return _subject.stream.listen(onNext, onError: onThrow, onDone: onReturn);
}