operator unary- method Null safety

  1. @override
AlignmentDirectional operator unary-()
override

Returns the negation of the given AlignmentDirectional.

Implementation

@override
AlignmentDirectional operator -() {
  return AlignmentDirectional(-start, -y);
}