HealthCheckLogConfig.fromJson constructor

HealthCheckLogConfig.fromJson(
  1. Object? j
)

Implementation

factory HealthCheckLogConfig.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return HealthCheckLogConfig(
    enable: switch (json['enable']) {
      null => null,
      Object $1 => decodeBool($1),
    },
  );
}