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;
}