get property

MediaKeyStatus? Function(Object) get get

Implementation

_i3.MediaKeyStatus? Function(_i2.Object) get get =>
    (_i2.Object p0) => switch (_i4.callMethod(
          _i4.getProperty(
            this,
            'get',
          ),
          r'call',
          [
            this,
            p0,
          ],
        )) {
          _i2.String name => _i3.MediaKeyStatusOptions.values.byName(name),
          _ => null
        };
set get (MediaKeyStatus? value(Object))

Implementation

set get(_i3.MediaKeyStatus? Function(_i2.Object) value) {
  _i4.setProperty(
    this,
    'get',
    _i4.allowInterop(
        (p0) => () => value(p0)?.name ?? _i6.undefined ?? _i6.undefined),
  );
}