GetNodeInfoResponse constructor

GetNodeInfoResponse({
  1. DefaultNodeInfo? defaultNodeInfo,
  2. VersionInfo? applicationVersion,
})

Implementation

factory GetNodeInfoResponse({
  $5.DefaultNodeInfo? defaultNodeInfo,
  VersionInfo? applicationVersion,
}) {
  final _result = create();
  if (defaultNodeInfo != null) {
    _result.defaultNodeInfo = defaultNodeInfo;
  }
  if (applicationVersion != null) {
    _result.applicationVersion = applicationVersion;
  }
  return _result;
}