@@ -24,21 +24,21 @@ class DioLinkServerException extends ServerException {
2424 /// Response which caused the exception
2525 final dio.Response response;
2626
27- const DioLinkServerException (
28- {@required this .response,
29- @required Response parsedResponse,
30- dynamic originalException})
31- : super (
32- parsedResponse: parsedResponse,
33- originalException: originalException);
27+ const DioLinkServerException ({
28+ @required this .response,
29+ @required Response parsedResponse,
30+ dynamic originalException
31+ }) : super (
32+ parsedResponse: parsedResponse,
33+ originalException: originalException
34+ );
3435
3536 @override
3637 String toString () {
3738 final dynamic data = response.data;
3839 String plainResponse = "..." ;
3940 if (data is String ) {
40- plainResponse =
41- data.length > 80 ? data.replaceRange (80 , data.length, "..." ) : data;
41+ plainResponse = data.length > 80 ? data.replaceRange (80 , data.length, "..." ) : data;
4242 }
4343 return "DioLinkServerException(originalException: $originalException , status: ${response .statusCode }, response: ${parsedResponse ?? plainResponse }" ;
4444 }
0 commit comments