operator unary- method Null safety
override
Returns the negation of the given Alignment.
Implementation
@override
Alignment operator -() {
return Alignment(-x, -y);
}
Returns the negation of the given Alignment.
@override
Alignment operator -() {
return Alignment(-x, -y);
}