copyWith method

HealthCheckResult copyWith({
  1. String? description,
  2. String? name,
  3. bool? passed,
})

Implementation

HealthCheckResult copyWith(
    {String? description, String? name, bool? passed}) {
  return HealthCheckResult(
    description: description ?? this.description,
    name: name ?? this.name,
    passed: passed ?? this.passed,
  );
}