createSession property

MediaKeySession Function([MediaKeySessionType?]) get createSession

Implementation

_i3.MediaKeySession Function([_i3.MediaKeySessionType?]) get createSession =>
    ([_i3.MediaKeySessionType? p0]) => _i4.callMethod(
          _i4.getProperty(
            this,
            'createSession',
          ),
          r'call',
          [
            this,
            p0?.name ?? _i6.undefined ?? _i6.undefined,
          ],
        );
set createSession (MediaKeySession value([MediaKeySessionType?]))

Implementation

set createSession(
    _i3.MediaKeySession Function([_i3.MediaKeySessionType?]) value) {
  _i4.setProperty(
    this,
    'createSession',
    _i4.allowInterop(value),
  );
}