AgentInfo constructor
Implementation
factory AgentInfo({
$core.String? host,
$core.String? os,
$core.Iterable<$core.String>? ips,
$core.String? version,
$core.String? gitRevision,
$core.String? platform,
$core.Iterable<$core.String>? platformTags,
}) {
final $result = create();
if (host != null) {
$result.host = host;
}
if (os != null) {
$result.os = os;
}
if (ips != null) {
$result.ips.addAll(ips);
}
if (version != null) {
$result.version = version;
}
if (gitRevision != null) {
$result.gitRevision = gitRevision;
}
if (platform != null) {
$result.platform = platform;
}
if (platformTags != null) {
$result.platformTags.addAll(platformTags);
}
return $result;
}