isBefore method
Check if this position is before other.
@param other A position.
@returns true if position is on a smaller line
or on the same line on a smaller character.
Implementation
_i2.bool isBefore(_i3.Position other) => _i5.callMethod(
this,
'isBefore',
[other],
);