unit property

OptionUnit get unit

Unit of measurement for this option.

Implementation

OptionUnit get unit => OptionUnit.fromJS(_wrapped.unit);
set unit (OptionUnit v)

Implementation

set unit(OptionUnit v) {
  _wrapped.unit = v.toJS;
}