copy method

ConstraintDimenData copy({
  1. double? width,
  2. double? height,
  3. double? maxWidth,
  4. double? maxHeight,
  5. double? minWidth,
  6. double? minHeight,
})

Implementation

ConstraintDimenData copy({
  double? width,
  double? height,
  double? maxWidth,
  double? maxHeight,
  double? minWidth,
  double? minHeight,
}) {
  return ConstraintDimenData(
    width: width ?? this.width,
    height: height ?? this.height,
    maxWidth: maxWidth ?? this.maxWidth,
    maxHeight: maxHeight ?? this.maxHeight,
    minWidth: minWidth ?? this.minWidth,
    minHeight: minHeight ?? this.minHeight,
  );
}