updateFloatWindowUserModel method

  1. @override
Future<void> updateFloatWindowUserModel(
  1. UserModel userModel
)
override

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,
  });
}