fixed context across async gaps

This commit is contained in:
2024-05-09 11:30:54 +02:00
parent ec03b32ce6
commit 640f5b6c66
4 changed files with 20 additions and 28 deletions

View File

@@ -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');
}
}