Logging constructor

Logging({
  1. Iterable<Logging_LoggingDestination>? producerDestinations,
  2. Iterable<Logging_LoggingDestination>? consumerDestinations,
})

Implementation

factory Logging({
  $core.Iterable<Logging_LoggingDestination>? producerDestinations,
  $core.Iterable<Logging_LoggingDestination>? consumerDestinations,
}) {
  final _result = create();
  if (producerDestinations != null) {
    _result.producerDestinations.addAll(producerDestinations);
  }
  if (consumerDestinations != null) {
    _result.consumerDestinations.addAll(consumerDestinations);
  }
  return _result;
}