LCR constructor

const LCR({
  1. required String key,
  2. required LocalDatabase database,
})

Constructor for the LCR class.

Parameters:

  • key: The key or path of the collection.
  • database: The reference to the local database.

Implementation

const LCR({
  required this.key,
  required this.database,
});