forked from eatvio/eatvio_app
fix: analyzer
This commit is contained in:
@@ -44,6 +44,7 @@ class ErrorReportPolicy {
|
||||
case DioExceptionType.connectionTimeout:
|
||||
case DioExceptionType.sendTimeout:
|
||||
case DioExceptionType.receiveTimeout:
|
||||
case DioExceptionType.transformTimeout:
|
||||
case DioExceptionType.connectionError:
|
||||
return true;
|
||||
case DioExceptionType.unknown:
|
||||
|
||||
@@ -29,7 +29,7 @@ dependencies:
|
||||
keyboard_dismisser: ^3.0.0
|
||||
retrofit: 4.7.2
|
||||
get_it: ^9.2.0
|
||||
dio: ^5.9.0
|
||||
dio: ^5.10.0
|
||||
dart_pusher_channels: ^1.2.3
|
||||
photo_view: ^0.15.0
|
||||
dismissible_page: ^1.0.2
|
||||
|
||||
@@ -32,6 +32,7 @@ void main() {
|
||||
DioExceptionType.connectionTimeout,
|
||||
DioExceptionType.sendTimeout,
|
||||
DioExceptionType.receiveTimeout,
|
||||
DioExceptionType.transformTimeout,
|
||||
]) {
|
||||
final e = DioException(
|
||||
requestOptions: RequestOptions(path: '/x'),
|
||||
|
||||
Reference in New Issue
Block a user