isCompound property

bool isCompound

Returns true is the document is compound

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

Implementation

bool get isCompound => _included.isNotEmpty;