NodeSelectorRequirement.fromJson constructor
Creates a NodeSelectorRequirement from JSON data.
Implementation
NodeSelectorRequirement.fromJson(Map<String, dynamic> json)
: this(
key: json['key'],
operator: json['operator'],
values:
json['values'] != null ? List<String>.from(json['values']) : null,
);