isNormalized property

  1. @override
bool get isNormalized
override

Implementation

@override
bool get isNormalized {
  // A block range is normalized if begin is the top left corner of the range
  // and end the bottom right corner.
  return (begin.isBefore(end) && begin.x <= end.x) || begin.isEqual(end);
}