joinCall method

Future<bool> joinCall()

Implementation

Future<bool> joinCall() async {
  final microphoneRequest = await Permission.microphone.request();
  if (microphoneRequest.isGranted) {
    final action = OmiAction(
      actionName: OmiActionName.JOIN_CALL,
      data: {},
    );
    await _controller.action(action);
    return true;
  }
  return false;
}