in lib/src/protos/dart_services.pb.dart [2197:2245]
factory VersionResponse({
$core.String? sdkVersion,
$core.String? sdkVersionFull,
$core.String? runtimeVersion,
$core.String? appEngineVersion,
$core.String? servicesVersion,
$core.String? flutterVersion,
$core.String? flutterDartVersion,
$core.String? flutterDartVersionFull,
$core.Map<$core.String, $core.String>? packageVersions,
$core.Iterable<PackageInfo>? packageInfo,
ErrorMessage? error,
}) {
final _result = create();
if (sdkVersion != null) {
_result.sdkVersion = sdkVersion;
}
if (sdkVersionFull != null) {
_result.sdkVersionFull = sdkVersionFull;
}
if (runtimeVersion != null) {
_result.runtimeVersion = runtimeVersion;
}
if (appEngineVersion != null) {
_result.appEngineVersion = appEngineVersion;
}
if (servicesVersion != null) {
_result.servicesVersion = servicesVersion;
}
if (flutterVersion != null) {
_result.flutterVersion = flutterVersion;
}
if (flutterDartVersion != null) {
_result.flutterDartVersion = flutterDartVersion;
}
if (flutterDartVersionFull != null) {
_result.flutterDartVersionFull = flutterDartVersionFull;
}
if (packageVersions != null) {
_result.packageVersions.addAll(packageVersions);
}
if (packageInfo != null) {
_result.packageInfo.addAll(packageInfo);
}
if (error != null) {
_result.error = error;
}
return _result;
}