File tree 8 files changed +0
-56
lines changed
8 files changed +0
-56
lines changed Original file line number Diff line number Diff line change 1
- import 'package:http_interop/http_interop.dart' as i;
2
1
import 'package:json_api/document.dart' ;
3
2
import 'package:json_api/src/client/response.dart' ;
4
3
@@ -12,12 +11,6 @@ class CollectionFetched {
12
11
links.addAll (document.links ());
13
12
}
14
13
15
- // coverage:ignore-start
16
- /// The raw HTTP response
17
- @Deprecated ('Use rawResponse.httpResponse instead' )
18
- i.Response get httpResponse => rawResponse.httpResponse;
19
- // coverage:ignore-end
20
-
21
14
/// The raw JSON:API response
22
15
final Response rawResponse;
23
16
Original file line number Diff line number Diff line change 1
- import 'package:http_interop/http_interop.dart' as i;
2
1
import 'package:json_api/document.dart' ;
3
2
import 'package:json_api/src/client/response.dart' ;
4
3
@@ -15,12 +14,6 @@ class RelatedResourceFetched {
15
14
links.addAll (document.links ());
16
15
}
17
16
18
- // coverage:ignore-start
19
- /// The raw HTTP response
20
- @Deprecated ('Use rawResponse.httpResponse instead' )
21
- i.Response get httpResponse => rawResponse.httpResponse;
22
- // coverage:ignore-end
23
-
24
17
/// The raw JSON:API response
25
18
final Response rawResponse;
26
19
Original file line number Diff line number Diff line change 1
- import 'package:http_interop/http_interop.dart' as i;
2
1
import 'package:json_api/document.dart' ;
3
2
import 'package:json_api/src/client/response.dart' ;
4
3
@@ -20,12 +19,6 @@ class RelationshipFetched<R extends Relationship> {
20
19
..included.addAll (document.included ());
21
20
}
22
21
23
- // coverage:ignore-start
24
- /// The raw HTTP response
25
- @Deprecated ('Use rawResponse.httpResponse instead' )
26
- i.Response get httpResponse => rawResponse.httpResponse;
27
- // coverage:ignore-end
28
-
29
22
/// The raw JSON:API response
30
23
final Response rawResponse;
31
24
Original file line number Diff line number Diff line change 1
- import 'package:http_interop/http_interop.dart' as i;
2
1
import 'package:json_api/document.dart' ;
3
2
import 'package:json_api/src/client/response.dart' ;
4
3
@@ -18,12 +17,6 @@ class RelationshipUpdated<R extends Relationship> {
18
17
response, json == null ? null : InboundDocument (json).asToOne ());
19
18
}
20
19
21
- // coverage:ignore-start
22
- /// The raw HTTP response
23
- @Deprecated ('Use rawResponse.httpResponse instead' )
24
- i.Response get httpResponse => rawResponse.httpResponse;
25
- // coverage:ignore-end
26
-
27
20
/// The raw JSON:API response
28
21
final Response rawResponse;
29
22
Original file line number Diff line number Diff line change 1
- import 'package:http_interop/http_interop.dart' as i;
2
1
import 'package:json_api/document.dart' ;
3
2
import 'package:json_api/src/client/response.dart' ;
4
3
@@ -12,12 +11,6 @@ class RequestFailure implements Exception {
12
11
meta.addAll (document.meta ());
13
12
}
14
13
15
- // coverage:ignore-start
16
- /// The raw HTTP response
17
- @Deprecated ('Use rawResponse.httpResponse instead' )
18
- i.Response get httpResponse => rawResponse.httpResponse;
19
- // coverage:ignore-end
20
-
21
14
/// The raw JSON:API response
22
15
final Response rawResponse;
23
16
Original file line number Diff line number Diff line change 1
- import 'package:http_interop/http_interop.dart' as i;
2
1
import 'package:json_api/document.dart' ;
3
2
import 'package:json_api/src/client/response.dart' ;
4
3
@@ -16,12 +15,6 @@ class ResourceCreated {
16
15
links.addAll (document.links ());
17
16
}
18
17
19
- // coverage:ignore-start
20
- /// The raw HTTP response
21
- @Deprecated ('Use rawResponse.httpResponse instead' )
22
- i.Response get httpResponse => rawResponse.httpResponse;
23
- // coverage:ignore-end
24
-
25
18
/// The raw JSON:API response
26
19
final Response rawResponse;
27
20
Original file line number Diff line number Diff line change 1
- import 'package:http_interop/http_interop.dart' as i;
2
1
import 'package:json_api/document.dart' ;
3
2
import 'package:json_api/src/client/response.dart' ;
4
3
@@ -13,12 +12,6 @@ class ResourceFetched {
13
12
links.addAll (document.links ());
14
13
}
15
14
16
- // coverage:ignore-start
17
- /// The raw HTTP response
18
- @Deprecated ('Use rawResponse.httpResponse instead' )
19
- i.Response get httpResponse => rawResponse.httpResponse;
20
- // coverage:ignore-end
21
-
22
15
/// The raw JSON:API response
23
16
final Response rawResponse;
24
17
Original file line number Diff line number Diff line change 1
- import 'package:http_interop/http_interop.dart' as i;
2
1
import 'package:json_api/document.dart' ;
3
2
import 'package:json_api/src/client/response.dart' ;
4
3
@@ -21,12 +20,6 @@ class ResourceUpdated {
21
20
return null ;
22
21
}
23
22
24
- // coverage:ignore-start
25
- /// The raw HTTP response
26
- @Deprecated ('Use rawResponse.httpResponse instead' )
27
- i.Response get httpResponse => rawResponse.httpResponse;
28
- // coverage:ignore-end
29
-
30
23
/// The raw JSON:API response
31
24
final Response rawResponse;
32
25
You can’t perform that action at this time.
0 commit comments