setActionHandler property

void Function(MediaSessionAction, [MediaSessionActionHandler?]) get setActionHandler

Implementation

void Function(
  _i3.MediaSessionAction, [
  _i3.MediaSessionActionHandler?,
]) get setActionHandler => (
      _i3.MediaSessionAction p0, [
      _i3.MediaSessionActionHandler? p1,
    ]) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'setActionHandler',
          ),
          r'call',
          [
            this,
            p0.name,
            p1 ?? _i6.undefined,
          ],
        );
set setActionHandler (void value(MediaSessionAction, [MediaSessionActionHandler?]))

Implementation

set setActionHandler(
    void Function(
      _i3.MediaSessionAction, [
      _i3.MediaSessionActionHandler?,
    ]) value) {
  _i4.setProperty(
    this,
    'setActionHandler',
    _i4.allowInterop(value),
  );
}