fromValue static method

UITableViewCellStyle fromValue(
  1. int value
)

Implementation

static UITableViewCellStyle fromValue(int value) => switch (value) {
  0 => UITableViewCellStyleDefault,
  1 => UITableViewCellStyleValue1,
  2 => UITableViewCellStyleValue2,
  3 => UITableViewCellStyleSubtitle,
  _ => throw ArgumentError('Unknown value for UITableViewCellStyle: $value'),
};