collection method
Method to get a reference to a collection within the document.
Parameters:
path
: The path of the collection within the document.
Example:
LCR subCollectionRef = documentRef.collection('sub_collection');
Implementation
LCR collection(String path) => LCR(key: "$key/$path", database: database);