copyFrom method

Implementation

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

  return AntdSelectorOption(
    key: other.key ?? key,
    style: other.style ?? style,
    styleBuilder: other.styleBuilder ?? styleBuilder,
    description: other.description ?? description,
    disabled: other.disabled,
    check: other.check,
    label: other.label,
    value: other.value ?? value,
    onChange: other.onChange ?? onChange,
  );
}