MqttBroker constructor
MqttBroker({})
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;
}