CallService<USER_ID> constructor
CallService<USER_ID> (
- Future<
WebRTCParams> getWebRTCParams(- USER_ID userId
Implementation
CallService(Future<WebRTCParams> Function(USER_ID userId) getWebRTCParams) {
this.getWebRTCParams = getWebRTCParams(getIt.get<AuthenticateService>().userId);
Future.delayed(const Duration(seconds: 1), () {_callServiceExpired = true;});
}