response static method

DocumentCommand response(
  1. ID did,
  2. Meta? meta,
  3. List<Document> docs
)
override

Creates a response document command with entity documents.

Use this to:

  1. Send metadata + documents to a new friend (handshake)
  2. Respond to a document query request

@param did - Target entity ID (user/group ID)

@param meta - Optional metadata (for handshake scenarios)

@param docs - List of documents to return for the entity

@return A DocumentCommand instance containing the documents

Implementation

static DocumentCommand response(ID did, Meta? meta, List<Document> docs) =>
    BaseDocumentCommand.from(did, meta, docs);