setBeautyStyle method
Set beauty filter type
Parameters:
beautyStyle
Beauty filter style.
- TXBeautyStyle.tXBeautyStyleSmooth :Smooth
- TXBeautyStyle.tXBeautyStyleNature:Naturally
- TXBeautyStyle.tXBeautyStylePitu:Youtu
Implementation
Future<void> setBeautyStyle(TXBeautyStyle beautyStyle) {
return _channel
.invokeMethod('setBeautyStyle', {"beautyStyle": beautyStyle.index});
}