addOption method

MultiSelectProp addOption(
  1. MultiSelectOption option
)

Add a new option to the multi select options and returns this instance.

Implementation

MultiSelectProp addOption(MultiSelectOption option) {
  this.options.add(option);
  return this;
}