NodeSelectorTerm.fromJson constructor
Creates a NodeSelectorTerm from JSON data.
Implementation
NodeSelectorTerm.fromJson(Map<String, dynamic> json)
: this(
matchExpressions: json['matchExpressions'] != null
? NodeSelectorRequirement.listFromJson(
(json['matchExpressions'] as Iterable)
.cast<Map<String, dynamic>>())
: null,
matchFields: json['matchFields'] != null
? NodeSelectorRequirement.listFromJson(
(json['matchFields'] as Iterable)
.cast<Map<String, dynamic>>())
: null,
);