RelatedResourceFetched constructor
RelatedResourceFetched(
- HttpResponse http,
- Map json
Implementation
RelatedResourceFetched(this.http, Map json)
: resource = InboundDocument(json).dataAsResourceOrNull() {
final document = InboundDocument(json);
included.addAll(document.included());
meta.addAll(document.meta());
links.addAll(document.links());
}