Params constructor

Params({
  1. Iterable<SendEnabled>? sendEnabled,
  2. bool? defaultSendEnabled,
})

Implementation

factory Params({
  $core.Iterable<SendEnabled>? sendEnabled,
  $core.bool? defaultSendEnabled,
}) {
  final _result = create();
  if (sendEnabled != null) {
    _result.sendEnabled.addAll(sendEnabled);
  }
  if (defaultSendEnabled != null) {
    _result.defaultSendEnabled = defaultSendEnabled;
  }
  return _result;
}