Riverpod tip. 👇
You can replace tedious try
/catch
blocks with AsyncValue.guard()
inside your AsyncNotifier
subclasses.
Found this useful? Show some love and share the original tweet 🙏
Previous | Next |
---|---|
How to write a reactive in-memory store with RxDart | The Map.update() method |