exchange property

({num Function(Object typedArray, num index, num value) $1, int Function(_IterableLike$<IterableIterator<int>> typedArray, num index, int value) $2}) get exchange

Overload accessor: $1, $2

Implementation

({
  /// Replaces the value at the given position in the array, returning the original value. Until
  ///  this atomic operation completes, any other read or write operation against the array will
  ///  block.
  _i2.num Function(
    _i2.Object typedArray,
    _i2.num index,
    _i2.num value,
  ) $1,

  /// Replaces the value at the given position in the array, returning the original value. Until
  ///  this atomic operation completes, any other read or write operation against the array will
  ///  block.
  _i2.int Function(
    _IterableLike$<_i6.IterableIterator<_i2.int>> typedArray,
    _i2.num index,
    _i2.int value,
  ) $2,
}) get exchange => (
      $1: _exchange$1,
      $2: _exchange$2,
    );