updateFloatWindowUserModel method
Implementation
@override
Future<void> updateFloatWindowUserModel(UserModel userModel) async {
await methodChannel.invokeMethod('updateFloatWindowUserModel', {
'userId': userModel.userId.value,
'userName': userModel.userName.value,
'avatar': userModel.userAvatarURL.value,
'role': userModel.userRole.value.value(),
'hasAudioStream': userModel.hasAudioStream.value,
'hasVideoStream': userModel.hasVideoStream.value,
'hasScreenStream': userModel.hasScreenStream.value,
'volume': userModel.volume.value,
});
}