operator [] method
The item with id, or null when the Project Idea has none.
Implementation
ProjectIdeaItem? operator [](String id) {
for (final i in items) {
if (i.id == id) return i;
}
return null;
}
The item with id, or null when the Project Idea has none.
ProjectIdeaItem? operator [](String id) {
for (final i in items) {
if (i.id == id) return i;
}
return null;
}