operator + method Null safety
- Alignment other
Returns the sum of two Alignments.
Implementation
Alignment operator +(Alignment other) {
return Alignment(x + other.x, y + other.y);
}
Returns the sum of two Alignments.
Alignment operator +(Alignment other) {
return Alignment(x + other.x, y + other.y);
}