removePrinter method

void removePrinter(
  1. String address
)

Implementation

void removePrinter(String address) {
  _printers.removeWhere((element) => element.address == address);
  notifyListeners();
}