error_handler.dart
error_handler.dart copied to clipboard
error handler for all http client in dart like Dio, Chopper, Http and more
Results
3
error_handler.dart issues
Sort by
recently updated
recently updated
newest added
Can you pls update the dependent libs with latest version? it's conflict with latest one. Thank you!
save the previous state ```dart void main(List args) { const state = ResultState.idle(); final history = state.getHistory(); history.selectData(); final List items = history.selectDataValues(); print(items); } ``` return list of history...
make this a valid syntax ```dart final state = ResultState.data(data: "value"); ``` cons: ```dart state.user.when( data: (value, response) { // null check response!.statusCode; }, ); ```
enhancement