DeviceBrokerSettings constructor
DeviceBrokerSettings({
- String? host,
- Int64? port,
- String? cn,
- @Deprecated('This field is deprecated.') String? protocol,
Implementation
factory DeviceBrokerSettings({
$core.String? host,
$fixnum.Int64? port,
$core.String? cn,
@$core.Deprecated('This field is deprecated.') $core.String? protocol,
}) {
final _result = create();
if (host != null) {
_result.host = host;
}
if (port != null) {
_result.port = port;
}
if (cn != null) {
_result.cn = cn;
}
if (protocol != null) {
// ignore: deprecated_member_use_from_same_package
_result.protocol = protocol;
}
return _result;
}