doc method

Document doc([
  1. dynamic docId
])

Implementation

Document doc([docId]) {
  if (docId != null) {
    Validater.isDocId(docId);
  }

  return Document(core: super.core, coll: super.coll, docId: docId);
}