LDR constructor

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

Constructor for the LDR class.

Parameters:

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

Implementation

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