with$ property

({Range Function(IInline2 change) $1, Range Function([Position? start, Position? end]) $2}) with$

Overload accessor: $1, $2

Implementation

({
  /// Derived a new range from this range.
  ///
  ///  @param change An object that describes a change to this range.
  ///  @returns A range that reflects the given change. Will return `this` range if the change
  ///  is not changing anything.
  _i3.Range Function(_i3.IInline2 change) $1,

  /// Derived a new range from this range.
  ///
  ///  @param start A position that should be used as start. The default value is the {@link Range.start current start}.
  ///  @param end A position that should be used as end. The default value is the {@link Range.end current end}.
  ///  @returns A range derived from this range with the given start and end position.
  ///  If start and end are not different `this` range will be returned.
  _i3.Range Function([
    _i3.Position? start,
    _i3.Position? end,
  ]) $2,
}) get with$ => (
      $1: _with$1,
      $2: _with$2,
    );