fromValue static method

UITableViewStyle fromValue(
  1. int value
)

Implementation

static UITableViewStyle fromValue(int value) => switch (value) {
  0 => UITableViewStylePlain,
  1 => UITableViewStyleGrouped,
  2 => UITableViewStyleInsetGrouped,
  _ => throw ArgumentError('Unknown value for UITableViewStyle: $value'),
};