operator >>> method

  1. @override
i64 operator >>>(
  1. dynamic other
)
override

Bitwise unsigned right shift by shiftAmount bits.

The least significant shiftAmount bits are dropped, the remaining bits (if any) are shifted down, and zero-bits are shifted in as the new most significant bits.

The shiftAmount must be non-negative.

Returns i64

Implementation

@override
i64 operator >>>(dynamic other) {
  if (other is integer) {
    return i64(value >>> other.value);
  } else if (other is int) {
    return i64(value >>> other);
  } else {
    throw Exception('Invalid type for operand: ${other.runtimeType}');
  }
}