toJson method
Converts a NodeConfigSource instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempConfigMap = configMap;
if (tempConfigMap != null) {
jsonData['configMap'] = tempConfigMap.toJson();
}
return jsonData;
}