Trying to align with new Rectangle and Point classes in dart:math