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