unitDisplay property

UnitDisplayOptions? get unitDisplay

Implementation

_i3.UnitDisplayOptions? get unitDisplay => switch (_i5.getProperty(
      this,
      'unitDisplay',
    )) {
      _i2.String name => _i3.UnitDisplayOptions.values.byName(name),
      _ => null
    };
set unitDisplay (UnitDisplayOptions? value)

Implementation

set unitDisplay(_i3.UnitDisplayOptions? value) {
  _i5.setProperty(
    this,
    'unitDisplay',
    value?.name ?? _i4.undefined,
  );
}