OutboundDataDocument.many constructor

OutboundDataDocument.many(
  1. ToMany many
)

Creates an instance of a document containing a to-many relationship.

Implementation

OutboundDataDocument.many(ToMany many) : data = many.toList() {
  meta.addAll(many.meta);
  links.addAll(many.links);
}