deleteCatalog method

void deleteCatalog(
  1. MokuroCatalog mapping
)

Delete a selected catalog from the database.

Implementation

void deleteCatalog(MokuroCatalog mapping) async {
  _database.writeTxnSync(() {
    _database.mokuroCatalogs.deleteSync(mapping.id!);
  });
}