CollectionFetched constructor

CollectionFetched(
  1. HttpResponse http,
  2. 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());
}