deleteTemplate method
Implementation
Future<void> deleteTemplate(String templateId) async {
await store.delete(PrintCollection.templates, templateId);
_templates = _templates.where((entry) => entry.id != templateId).toList();
notifyListeners();
}