NodegroupHealth.fromJson constructor

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

Implementation

factory NodegroupHealth.fromJson(Map<String, dynamic> json) {
  return NodegroupHealth(
    issues: (json['issues'] as List?)
        ?.whereNotNull()
        .map((e) => Issue.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}