Future<int> generateKeyFrame([String? rid]) => js_util .promiseToFuture(js_util.callMethod(this, 'generateKeyFrame', [rid]));