addDestination method

void addDestination(
  1. LogDestination destination
)

Implementation

void addDestination(LogDestination destination) {
  if (!_destinations.any((d) => d.identifier == destination.identifier)) {
    _destinations.add(destination);
  }
}