operator - method

Implementation

ConstraintDimenData operator -(ConstraintDimenData other) {
  return ConstraintDimenData(
    width: width - other.width,
    height: height - other.height,
    maxWidth: maxWidth - other.maxWidth,
    maxHeight: maxHeight - other.maxHeight,
    minWidth: minWidth - other.minWidth,
    minHeight: minHeight - other.minHeight,
  );
}