operator % method Null safety

  1. @override
FractionalOffset operator %(
  1. double other
)
override

Computes the remainder in each dimension by the given factor.

Implementation

@override
FractionalOffset operator %(double other) {
  return FractionalOffset(dx % other, dy % other);
}