InstanceHealthSummary.fromJson constructor
Implementation
factory InstanceHealthSummary.fromJson(Map<String, dynamic> json) {
return InstanceHealthSummary(
instanceHealth:
(json['instanceHealth'] as String?)?.toInstanceHealthState(),
instanceHealthReason:
(json['instanceHealthReason'] as String?)?.toInstanceHealthReason(),
instanceName: json['instanceName'] as String?,
);
}