entryFor method

DesignInventoryEntry? entryFor(
  1. String id
)

The entry for the row id, or null when the inventory has none.

Implementation

DesignInventoryEntry? entryFor(String id) {
  for (final entry in entries) {
    if (entry.row == id) return entry;
  }
  return null;
}