ChannelSet constructor

ChannelSet({
  1. Iterable<ChannelSettings>? settings,
  2. Config_LoRaConfig? loraConfig,
})

Implementation

factory ChannelSet({
  $core.Iterable<$0.ChannelSettings>? settings,
  $1.Config_LoRaConfig? loraConfig,
}) {
  final result = create();
  if (settings != null) result.settings.addAll(settings);
  if (loraConfig != null) result.loraConfig = loraConfig;
  return result;
}