previewVideo method Null safety
- {required HMSConfig config}
preview before joining the room pass HMSConfig.
Implementation
Future<void> previewVideo({required HMSConfig config}) async {
return await PlatformService.invokeMethod(PlatformMethod.previewVideo,
arguments: config.getJson());
}