type property

OptionType get type

Type of the option. The requested type must match the real type of the underlying option.

Implementation

OptionType get type => OptionType.fromJS(_wrapped.type);
set type (OptionType v)

Implementation

set type(OptionType v) {
  _wrapped.type = v.toJS;
}