initCallController method

Future<void> initCallController({
  1. required BuildContext buildContext,
  2. required dynamic userJid,
  3. required String callType,
  4. required String callMode,
  5. required String calleeName,
})

Implementation

Future<void> initCallController(
    {required BuildContext buildContext,
    required userJid,
    required String callType,
    required String callMode,
    required String calleeName}) async {
  context = buildContext;
  enterFullScreen();
  groupId(await Mirrorfly.getCallGroupJid());
  this.callType(callType);
  this.callMode(callMode);
  users(userJid);
  this.calleeName(calleeName);
}