fromValue static method

Implementation

static UITabBarControllerSidebarLayout fromValue(int value) => switch (value) {
  0 => UITabBarControllerSidebarLayoutAutomatic,
  1 => UITabBarControllerSidebarLayoutOverlap,
  2 => UITabBarControllerSidebarLayoutTile,
  _ => throw ArgumentError('Unknown value for UITabBarControllerSidebarLayout: $value'),
};