replay method

Future<Conference> replay(
  1. {required Conference conference,
  2. ConferenceReplayOptions? replayOptions}

Replays a recorded conference. The replayOptions parameter refers to additional replay options that you can define. For more information, see the Recording Conferences article.


Future<Conference> replay(
    {required Conference conference,
    ConferenceReplayOptions? replayOptions}) async {
  var arguments = {
    "conference": conference.toJson(),
    "offset": replayOptions?.offset,
    "conferenceAccessToken": replayOptions?.conferenceAccessToken
  var result = await _methodChannel.invokeMethod<Map<Object?, Object?>>(
      "replay", arguments);
  return Future.value(
      result != null ? ConferenceMapper.fromMap(result) : null);