hangUp method

  1. @override
Future<JitsiMeetingResponse> hangUp()
override

Implementation

@override
Future<JitsiMeetingResponse> hangUp() async {
  return await _methodChannel.invokeMethod<String>('hangUp').then((message) {
    return JitsiMeetingResponse(isSuccess: true, message: message);
  }).catchError((error) {
    return JitsiMeetingResponse(
      isSuccess: false,
      message: error.toString(),
      error: error,
    );
  });
}