persistentState property

MediaKeysRequirement? get persistentState

Implementation

_i3.MediaKeysRequirement? get persistentState => switch (_i4.getProperty(
      this,
      'persistentState',
    )) {
      _i2.String name => _i3.MediaKeysRequirementOptions.values.byName(name),
      _ => null
    };
set persistentState (MediaKeysRequirement? value)

Implementation

set persistentState(_i3.MediaKeysRequirement? value) {
  _i4.setProperty(
    this,
    'persistentState',
    value?.name ?? _i6.undefined ?? _i6.undefined,
  );
}