CollectionFetched constructor
CollectionFetched(
- Response httpResponse,
- Map json
Implementation
CollectionFetched(this.httpResponse, Map json) {
final document = InboundDocument(json);
collection.addAll(document.dataAsCollection());
included.addAll(document.included());
meta.addAll(document.meta());
links.addAll(document.links());
}