NodeConfigSource.fromJson constructor
Creates a NodeConfigSource from JSON data.
Implementation
factory NodeConfigSource.fromJson(Map<String, dynamic> json) {
final tempConfigMapJson = json['configMap'];
final ConfigMapNodeConfigSource? tempConfigMap = tempConfigMapJson != null
? ConfigMapNodeConfigSource.fromJson(tempConfigMapJson)
: null;
return NodeConfigSource(
configMap: tempConfigMap,
);
}