named static method

ScreenshotStore? named(
  1. String id
)

The store size with id, or null.

Implementation

static ScreenshotStore? named(String id) {
  for (final ScreenshotStore store in all) {
    if (store.id == id) return store;
  }
  return null;
}