isFullyLinked property

bool isFullyLinked

Returns true if the document is fully linked

http://jsonapi.org/format/#document-compound-documents

Implementation

bool get isFullyLinked {
  return _included.isEmpty ||
      _included.every((res) =>
          data.identifies(res) ||
          _included
              .any((another) => another != res && another.identifies(res)));
}