operator * method Null safety

  1. @override
AlignmentDirectional operator *(
  1. double other
)
override

Scales the AlignmentDirectional in each dimension by the given factor.

Implementation

@override
AlignmentDirectional operator *(double other) {
  return AlignmentDirectional(start * other, y * other);
}