HealthCheckConfig.fromJson constructor

HealthCheckConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory HealthCheckConfig.fromJson(Map<String, dynamic> json) {
  return HealthCheckConfig(
    type: (json['Type'] as String).toHealthCheckType(),
    failureThreshold: json['FailureThreshold'] as int?,
    resourcePath: json['ResourcePath'] as String?,
  );
}