Collection constructor

Collection({
  1. required String name,
  2. required String path,
  3. required bool encrypted,
  4. required bool isWeb,
  5. Database? database,
})

Implementation

Collection({
  required String name,
  required String path,
  required bool encrypted,
  required bool isWeb,
  Database? database,
}) : _name = name,
     _collectionOperations = CollectionOperations(path: path, encrypted: encrypted)..createSync(),
     _database = database;