getInputSelectionEnd function

int? getInputSelectionEnd(
  1. dynamic input
)

Implementation

int? getInputSelectionEnd(input) {
  assert(isInputElement(input));
  return input != null ? input.selectionEnd as int: null;
}