Observable.just for rxdart: ^0.26.0

276

I found it on package's changelog


Observable.just has been replaced with Stream.value

Share:
276
Giuliano Condrache
Author by

Giuliano Condrache

Updated on December 28, 2022

Comments

  • Giuliano Condrache
    Giuliano Condrache over 1 year

    I have the new rxdart: ^0.26.0 version, and I know Observable got deprecated and you can use Stream instead, question is, how do I use Observable.just for the newer version?

    • Rishabh Deep Singh
      Rishabh Deep Singh about 3 years
      any simple example?
    • Giuliano Condrache
      Giuliano Condrache about 3 years
      return Observable.just({}) was what you would use a while back, but since the rxdart package got updated it is no longer available, if I wanted my code to do what Observable.just did a while back, what would I use?