Closed Prn-Ice closed 2 years ago
Because that is dart language spec.
ValueStream<WalletsResponse> get wallets {
return Rx.fromCallable(() => _walletCache.get(IWalletRepository.cacheKey))
.exhaustMap((initial) =>
_walletCache
.on<CacheEntryUpdatedEvent<WalletsResponse>>()
.map((event) => event.newEntry.value as WalletsResponse)
.startWith(initial)
)
.shareValueSeeded(WalletsResponse());
}
Sent from my 2201117TG using FastHub
Thanks.
Hi, this is probably just poor understanding on my part but i'm trying to do this
But I keep getting the error
Since ValueStream implements Stream, I am a little surprised seeing this.