negate static method
Returns the negation of the specified offset. This is the method form of the unary minus operator.
offset
: The offset to negate.
Returns: The negation of the specified offset.
Implementation
static Offset negate(Offset offset) => -offset;