fromTabIndex static method

InfospectDesktopTab? fromTabIndex(
  1. int tabIndex
)

Implementation

static InfospectDesktopTab? fromTabIndex(int tabIndex) {
  for (final tab in values) {
    if (tab.tabIndex == tabIndex) return tab;
  }
  return null;
}