caretRangeFromPoint property

Range? Function(num, num) get caretRangeFromPoint

Implementation

_i3.Range? Function(
  _i2.num,
  _i2.num,
) get caretRangeFromPoint => (
      _i2.num p0,
      _i2.num p1,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'caretRangeFromPoint',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        );
set caretRangeFromPoint (Range? value(num, num))

Implementation

set caretRangeFromPoint(
    _i3.Range? Function(
      _i2.num,
      _i2.num,
    ) value) {
  _i4.setProperty(
    this,
    'caretRangeFromPoint',
    _i4.allowInterop((
      p0,
      p1,
    ) =>
        () =>
            value(
              p0,
              p1,
            ) ??
            _i6.undefined),
  );
}