如何使用combineLatest返回BehaviorSubject?我在试着从观察值中得到最后一个值。, because I need to get the latest value outside a subscriberlet thing = currentThing.value() 我无法对其进行编译,因为comb
考虑这段代码(不要介意无用的listen方法,它只是为了展示用例): final BehaviorSubject notifPrompt = final bool answered;
}
现在我知道这是可行的,但是有没有办法获得generic type (在本例中是NotifPromptModel ),并