fromValue static method

UITableViewCellEditingStyle fromValue(
  1. int value
)

Implementation

static UITableViewCellEditingStyle fromValue(int value) => switch (value) {
  0 => UITableViewCellEditingStyleNone,
  1 => UITableViewCellEditingStyleDelete,
  2 => UITableViewCellEditingStyleInsert,
  _ => throw ArgumentError('Unknown value for UITableViewCellEditingStyle: $value'),
};