BaseDocumentCommand.from constructor

BaseDocumentCommand.from(
  1. ID did,
  2. Meta? meta,
  3. List<Document>? docs
)

Implementation

BaseDocumentCommand.from(ID did, Meta? meta, List<Document>? docs)
    : super.fromCmd(Command.DOCUMENTS, did, meta) {
  // document
  if (docs != null) {
    this['documents'] = Document.revert(docs);
  }
  _docs = docs;
}