MqttBroker constructor

MqttBroker({
  1. String? name,
  2. String? description,
  3. String? country,
  4. String? zone,
  5. String? host,
  6. int? port,
  7. bool? sSLorTLS,
})

Implementation

factory MqttBroker({
  $core.String? name,
  $core.String? description,
  $core.String? country,
  $core.String? zone,
  $core.String? host,
  $core.int? port,
  $core.bool? sSLorTLS,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (description != null) {
    $result.description = description;
  }
  if (country != null) {
    $result.country = country;
  }
  if (zone != null) {
    $result.zone = zone;
  }
  if (host != null) {
    $result.host = host;
  }
  if (port != null) {
    $result.port = port;
  }
  if (sSLorTLS != null) {
    $result.sSLorTLS = sSLorTLS;
  }
  return $result;
}