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