toNative method

({int endByte, ({int column, int row}) endPoint, int startByte, ({int column, int row}) startPoint}) toNative()

Converts to native TSRange fields using Rust's narrowing casts.

Implementation

({
  int startByte,
  int endByte,
  ({int row, int column}) startPoint,
  ({int row, int column}) endPoint,
})
toNative() => (
  startByte: startByte & 0xffffffff,
  endByte: endByte & 0xffffffff,
  startPoint: startPoint.toNative(),
  endPoint: endPoint.toNative(),
);