CollectionFetched constructor

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