deletePaperFormat method

Future<void> deletePaperFormat(
  1. String formatId
)

Implementation

Future<void> deletePaperFormat(String formatId) async {
  await store.delete(PrintCollection.paperFormats, formatId);
  _paperFormats = _paperFormats
      .where((entry) => entry.id != formatId)
      .toList();
  notifyListeners();
}