textRangeFromPosition method
UITextRange?
textRangeFromPosition(
- UITextPosition fromPosition, {
- required UITextPosition toPosition,
textRangeFromPosition:toPosition:
Implementation
UITextRange? textRangeFromPosition(UITextPosition fromPosition, {required UITextPosition toPosition}) {
final _$$ref = object$.ref;
final _$$ref$1 = fromPosition.ref;
final _$$ref$2 = toPosition.ref;
final $ret = _objc_msgSend_15qeuct(
_$$ref.pointer,
_sel_textRangeFromPosition_toPosition_,
_$$ref$1.pointer,
_$$ref$2.pointer,
);
return $ret.address == 0 ? null : UITextRange.fromPointer($ret, retain: true, release: true);
}