Skip to content

Commit be4b826

Browse files
committed
Add rawResponse
1 parent 8aa1fd9 commit be4b826

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/src/client/response/collection_fetched.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ class CollectionFetched {
1212
links.addAll(document.links());
1313
}
1414

15+
// coverage:ignore-start
1516
/// The raw HTTP response
1617
@Deprecated('Use rawResponse.httpResponse instead')
1718
i.Response get httpResponse => rawResponse.httpResponse;
19+
// coverage:ignore-end
1820

1921
/// The raw JSON:API response
2022
final Response rawResponse;

lib/src/client/response/resource_updated.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ class ResourceUpdated {
2121
return null;
2222
}
2323

24+
// coverage:ignore-start
2425
/// The raw HTTP response
2526
@Deprecated('Use rawResponse.httpResponse instead')
2627
i.Response get httpResponse => rawResponse.httpResponse;
28+
// coverage:ignore-end
2729

2830
/// The raw JSON:API response
2931
final Response rawResponse;

0 commit comments

Comments
 (0)