endSession method

Future<void> endSession()

Ends the connected opentok session.

Implementation

Future<void> endSession() async {
  try {
    return await _openTokHostApi.endSession();
  } catch (e) {
    rethrow;
  }
}