HealthResponse.fromJson constructor

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

Implementation

factory HealthResponse.fromJson(Map<String, Object?> json) => HealthResponse(
  status: json['status'] as String,
  service: json['service'] as String?,
);