VersionInfo constructor
VersionInfo({})
Implementation
factory VersionInfo({
$core.String? name,
$core.String? appName,
$core.String? version,
$core.String? gitCommit,
$core.String? buildTags,
$core.String? goVersion,
$core.Iterable<Module>? buildDeps,
$core.String? cosmosSdkVersion,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (appName != null) {
_result.appName = appName;
}
if (version != null) {
_result.version = version;
}
if (gitCommit != null) {
_result.gitCommit = gitCommit;
}
if (buildTags != null) {
_result.buildTags = buildTags;
}
if (goVersion != null) {
_result.goVersion = goVersion;
}
if (buildDeps != null) {
_result.buildDeps.addAll(buildDeps);
}
if (cosmosSdkVersion != null) {
_result.cosmosSdkVersion = cosmosSdkVersion;
}
return _result;
}