minus static method
Subtracts one Offset from another. Friendly alternative to operator-()
.
left
: The left hand side of the operator.right
: The right hand side of the operator.
Returns: A new Offset representing the difference of the given values.
RangeError: The result of the operation is outside the range of Offset.
Implementation
static Offset minus(Offset left, Offset right) => left - right;