fromValue static method

UITextSmartInsertDeleteType fromValue(
  1. int value
)

Implementation

static UITextSmartInsertDeleteType fromValue(int value) => switch (value) {
  0 => UITextSmartInsertDeleteTypeDefault,
  1 => UITextSmartInsertDeleteTypeNo,
  2 => UITextSmartInsertDeleteTypeYes,
  _ => throw ArgumentError('Unknown value for UITextSmartInsertDeleteType: $value'),
};