copyFrom method

AntdCheckItem copyFrom(
  1. AntdCheckItem? other
)

Implementation

AntdCheckItem copyFrom(AntdCheckItem? other) {
  if (other == null) return this;

  return AntdCheckItem(
    key: other.key ?? key,
    style: other.style ?? style,
    readOnly: other.readOnly ?? readOnly,
    disable: other.disable ?? disable,
    activeIcon: other.activeIcon ?? activeIcon,
    unActiveIcon: other.unActiveIcon ?? unActiveIcon,
    disableIcon: other.disableIcon ?? disableIcon,
    onTap: other.onTap ?? onTap,
    check: other.check,
    value: other.value ?? value,
    onChange: other.onChange ?? onChange,
    child: other.child ?? child,
  );
}