fixWiresForNodeRed method
Implementation
List<List<String>> fixWiresForNodeRed() {
final List<List<String>> wiresTemp = [];
// '"${mqttNode.id}"'
if (wires != null) {
for (final List<String> tempWire in wires!) {
final List<String> fixedWireList = [];
for (final String tempId in tempWire) {
if (!tempId.contains('"')) {
fixedWireList.add('"$tempId"');
} else {
fixedWireList.add(tempId);
}
}
wiresTemp.add(fixedWireList);
}
}
return wiresTemp;
}