getById method
Implementation
NodeOutput? getById(String id) {
if (full != null && full!.id == id) {
return full!;
}
if (start != null && start!.id == id) {
return start!;
}
if (end != null && end!.id == id) {
return end!;
}
return null;
}