createSession method

MediaKeySession createSession([
  1. MediaKeySessionType? sessionType = MediaKeySessionType.temporary
])

Implementation

MediaKeySession createSession(
        [MediaKeySessionType? sessionType = MediaKeySessionType.temporary]) =>
    js_util.callMethod(this, 'createSession', [sessionType?.value]);