GetInstancesHealthStatusResponse.fromJson constructor

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

Implementation

factory GetInstancesHealthStatusResponse.fromJson(Map<String, dynamic> json) {
  return GetInstancesHealthStatusResponse(
    nextToken: json['NextToken'] as String?,
    status: (json['Status'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, (e as String).toHealthStatus())),
  );
}