SMTPConfig constructor

SMTPConfig({
  1. ObjectDetails? details,
  2. String? senderAddress,
  3. String? senderName,
  4. bool? tls,
  5. String? host,
  6. String? user,
  7. String? replyToAddress,
})

Implementation

factory SMTPConfig({
  $8.ObjectDetails? details,
  $core.String? senderAddress,
  $core.String? senderName,
  $core.bool? tls,
  $core.String? host,
  $core.String? user,
  $core.String? replyToAddress,
}) {
  final $result = create();
  if (details != null) {
    $result.details = details;
  }
  if (senderAddress != null) {
    $result.senderAddress = senderAddress;
  }
  if (senderName != null) {
    $result.senderName = senderName;
  }
  if (tls != null) {
    $result.tls = tls;
  }
  if (host != null) {
    $result.host = host;
  }
  if (user != null) {
    $result.user = user;
  }
  if (replyToAddress != null) {
    $result.replyToAddress = replyToAddress;
  }
  return $result;
}