usage property

Usage? get usage

Implementation

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

Implementation

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