This commit is contained in:
Remi Rousselet
2023-06-06 12:15:52 +02:00
parent fbd2660ee0
commit 50cadb4a5a

View File

@ -23,7 +23,7 @@ class MyHomePage extends HookConsumerWidget {
child: CircularProgressIndicator(),
),
error: (err, stack) {
if (err is DioError) {
if (err is DioException) {
return Text(
err.response!.data.toString(),
);