I have a widget that runs
await InternetAddress.lookup('google.com')
I have not been able to find a way to test that line with testWidget, I have not been able to find how to make a Mock with setMockMethodCallHandler and it is not possible to do it any other way.
New contributor
Sebastian Naranjo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.