DefaultNodeInfo constructor
DefaultNodeInfo({
- ProtocolVersion? protocolVersion,
- String? defaultNodeId,
- String? listenAddr,
- String? network,
- String? version,
- List<
int> ? channels, - String? moniker,
- DefaultNodeInfoOther? other,
Implementation
factory DefaultNodeInfo({
ProtocolVersion? protocolVersion,
$core.String? defaultNodeId,
$core.String? listenAddr,
$core.String? network,
$core.String? version,
$core.List<$core.int>? channels,
$core.String? moniker,
DefaultNodeInfoOther? other,
}) {
final _result = create();
if (protocolVersion != null) {
_result.protocolVersion = protocolVersion;
}
if (defaultNodeId != null) {
_result.defaultNodeId = defaultNodeId;
}
if (listenAddr != null) {
_result.listenAddr = listenAddr;
}
if (network != null) {
_result.network = network;
}
if (version != null) {
_result.version = version;
}
if (channels != null) {
_result.channels = channels;
}
if (moniker != null) {
_result.moniker = moniker;
}
if (other != null) {
_result.other = other;
}
return _result;
}