copyWith method
ServerInformation
copyWith(
{ - String? baseUrl,
- DateTime? buildDate,
- int? buildNumber,
- String? deploymentType,
- List<HealthCheckResult>? healthChecks,
- String? scmInfo,
- DateTime? serverTime,
- String? serverTitle,
- String? version,
- List<int>? versionNumbers,
})
Implementation
ServerInformation copyWith(
{String? baseUrl,
DateTime? buildDate,
int? buildNumber,
String? deploymentType,
List<HealthCheckResult>? healthChecks,
String? scmInfo,
DateTime? serverTime,
String? serverTitle,
String? version,
List<int>? versionNumbers}) {
return ServerInformation(
baseUrl: baseUrl ?? this.baseUrl,
buildDate: buildDate ?? this.buildDate,
buildNumber: buildNumber ?? this.buildNumber,
deploymentType: deploymentType ?? this.deploymentType,
healthChecks: healthChecks ?? this.healthChecks,
scmInfo: scmInfo ?? this.scmInfo,
serverTime: serverTime ?? this.serverTime,
serverTitle: serverTitle ?? this.serverTitle,
version: version ?? this.version,
versionNumbers: versionNumbers ?? this.versionNumbers,
);
}