setRosyParam method Null safety

Future<void> setRosyParam(
  1. ZegoEffectsRosyParam param
)

Set the parameters for the rosy effect.

ZegoEffectsRosyParam param - The parameter configuration for the rosy effect, including intensity information. For specific parameter definitions, refer to the ZegoEffectsRosyParam class.

Precautions: Use after initializing ZegoEffects.

Applicable version: >= 2.1.0

Implementation

Future<void> setRosyParam(ZegoEffectsRosyParam param) async {
  return await _channel.invokeMethod('setRosyParam', {'intensity': param.intensity});
}