operator - method

ListPointer<T> operator -(
  1. dynamic other
)

Implementation

ListPointer<T> operator -(other) {
  if (other is int) {
    return ListPointer<T>(base, offset - other);
  }

  throw ArgumentError.value(other, 'other');
}