remove method

void remove(
  1. Zone zone
)

Removes a specific zone from the list of zones.

zone is the zone to be removed from the zones list.

Implementation

void remove(Zone zone) {
  zones.remove(zone);
  notifyListeners();
}