HealthCheckResult.fromJson constructor

HealthCheckResult.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory HealthCheckResult.fromJson(Map<String, Object?> json) {
  return HealthCheckResult(
    description: json[r'description'] as String?,
    name: json[r'name'] as String?,
    passed: json[r'passed'] as bool? ?? false,
  );
}