| Index: sdk/lib/_internal/pub/lib/src/http.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/http.dart b/sdk/lib/_internal/pub/lib/src/http.dart
|
| index 13f87afd91f1a69c231048551bc184439ac12aa9..24dbacbeafe66a7900549a8c3a022f463336431f 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/http.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/http.dart
|
| @@ -224,8 +224,10 @@ void handleJsonError(http.Response response) {
|
| fail(errorMap['error']['message']);
|
| }
|
|
|
| -/// Parses a response body, assuming it's JSON-formatted. Throws a user-friendly
|
| -/// error if the response body is invalid JSON, or if it's not a map.
|
| +/// Parses a response body, assuming it's JSON-formatted.
|
| +///
|
| +/// Throws a user-friendly error if the response body is invalid JSON, or if
|
| +/// it's not a map.
|
| Map parseJsonResponse(http.Response response) {
|
| var value;
|
| try {
|
|
|