positionWithinRange$1 method
UITextPosition?
positionWithinRange$1(
- UITextRange range, {
- required UITextLayoutDirection farthestInDirection,
positionWithinRange:farthestInDirection:
Implementation
UITextPosition? positionWithinRange$1(UITextRange range, {required UITextLayoutDirection farthestInDirection}) {
final _$$ref = object$.ref;
final _$$ref$1 = range.ref;
final $ret = _objc_msgSend_1bi67wp(
_$$ref.pointer,
_sel_positionWithinRange_farthestInDirection_,
_$$ref$1.pointer,
farthestInDirection.value,
);
return $ret.address == 0 ? null : UITextPosition.fromPointer($ret, retain: true, release: true);
}