Offset class
An immutable 2D integer offset with x and y coordinates.
Used for positioning within the terminal grid (0-based).
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator +(
Offset other) → Offset -
Returns the sum of this offset and
other. -
operator -(
Offset other) → Offset -
Returns the difference between this offset and
other. -
operator ==(
Object other) → bool -
The equality operator.
override