collection method

LCR collection(
  1. String path
)

Get a reference to a collection within the database.

Parameters:

  • path: The path to the collection.

Example:

LocalDatabase localDB = LocalDatabase();
LCR collectionRef = localDB.collection('users');

Implementation

LCR collection(String path) => LCR(key: path, database: this);