merge method

Creates a copy of this CheckmarkThemeData but with the given fields replaced with the new values.

Implementation

CheckmarkThemeData merge(CheckmarkThemeData? other) {
  // if null return current object
  if (other == null) return this;

  return copyWith(
    curve: other.curve,
    duration: other.duration,
    color: other.color,
    weight: other.weight,
    size: other.size,
    autoSize: other.autoSize,
    rounded: other.rounded,
    drawCross: other.drawCross,
    drawDash: other.drawDash,
  );
}