deleteType method

  1. @override
void deleteType(
  1. LocationType locationType
)
override

Removes locationType from the active location types and from all location types list

Implementation

@override
void deleteType(LocationType locationType) {
  final foundLocationType = getType(locationType.getLocationType());
  _locationTypes.remove(foundLocationType);
  _activeLocationTypes.remove(foundLocationType);
}