ResourceUpdated constructor

ResourceUpdated(
  1. Response rawResponse
)

Implementation

ResourceUpdated(this.rawResponse)
    : resource = _resource(rawResponse.document) {
  final document = rawResponse.document;
  if (document != null) {
    included.addAll(InboundDocument(document).included());
    meta.addAll(InboundDocument(document).meta());
    links.addAll(InboundDocument(document).links());
  }
}