How to extract Left or Right easily from Either type in Dart (Dartz)

后端 未结 3 568
抹茶落季
抹茶落季 2021-02-04 09:53

I am looking to extract a value easily from a method that return a type Either.

I am doing some tests but unable to test easily th

3条回答
  •  被撕碎了的回忆
    2021-02-04 10:48

    I can't post a comment... But maybe you could look at this post. It's not the same language, but looks like it's the same behaviour.

    Good luck.

提交回复
热议问题