addBeautySticker method Null safety

Future<VoidResult> addBeautySticker(
  1. String path
)

Add a sticker effect. This interface is used to load sticker resources and add corresponding sticker effects. To replace stickers, call this API repeatedly to use new sticker resources. Before using custom beauty effects such as filters, stickers, and makeup, you need to prepare the corresponding beauty resources or models. The sticker effect can be overlayed with the global beauty effect, filters, and makeups, but multiple stickers cannot apply at the same time. @param path The path where the sticker resource is located. /// An absolute path on the SD card or a relative path in the asset directory are supported. SD card: "/storage/emulated/0/Android/data/com.xxx/files/filter_portrait/filter_style_FN1" asset: "2D/bunny" @return 0: success. Others: failure /

Implementation

Future<VoidResult> addBeautySticker(String path);