How to implement Dart/Flutter unit test for the following scenario where there is a callback response from a service?
suppose I have a widget A and in the initState() lifecycle method of that widget i am calling a function
Flutter : Test a function did call another function or not
I have a cubit that controls three forms, and I hope to ensure that all three forms have been validated when I submit.