Nov 1, 2022
Hi Joshua,
Thanks for your feedback. Much appreciated.
Use case interfaces (or abstract classes in Dart) allows the program to depend on the interface rather than the implementation. This helps with mocking when doing TDD of the view models.
Illustrated in the tests:
https://github.com/nanosoftonline/clean-flutter/tree/main/test/presentation/view_models/customer