setPendantPath method Null safety

Future<void> setPendantPath(
  1. String path
)

Set the pendant resources at the specified path. Developers can call this method with a list of paths to set multiple pendants, but it must be executed after SDK initialization.

String path The paths of various pendants.

Precautions: Use before initializing ZegoEffects.

Applicable version: >= 2.1.0

Implementation

Future<void> setPendantPath(String path) async {
  return await _channel.invokeMethod('setPendantPath', {'path': path});
}