fixed context across async gaps
This commit is contained in:
1 parent
ec03b32ce6
commit
640f5b6c66
4 files changed
+20
-28
No files matched your search
@@ -32,11 +32,11 @@ class Methods {
|
||||
// ignore: unused_catch_clause
|
||||
} on DioException catch (e) {
|
||||
_errorCode = response.statusCode;
|
||||
print('is hier. var: ${_errorCode}');
|
||||
print('is hier. var: $_errorCode');
|
||||
return;
|
||||
}
|
||||
_errorCode = response.statusCode;
|
||||
print('is hier 2. var: ${_errorCode}');
|
||||
print('is hier 2. var: $_errorCode');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user