setRefData method
Used for deserializing
Reconstructs connections
Maps inputRefs to the corresponding connection inside this node
Implementation
void setRefData(Map<String, VSOutputData?> inputRefs) {
Map<String, VSInputData> inputMap = {
for (final element in inputData) element.type: element
};
for (final ref in inputRefs.entries) {
inputMap[ref.key]?.connectedInterface = ref.value;
}
}