Collection<T extends Document<DocumentType>> constructor

Collection<T extends Document<DocumentType>>(
  1. Document parent,
  2. String name
)

Implementation

Collection(Document parent, this.name)
    : ref = parent.reference.collection(name),
      path = parent.reference.collection(name).path;