setResources method Null safety

Future<void> setResources()

Set local materials or models. Developers can call this method with a list of paths to set multiple resources, but it must be executed before SDK initialization.

Precautions: Use before initializing ZegoEffects.

Applicable version: >= 2.1.0

Implementation

Future<void> setResources() async {
  return await _channel.invokeMethod('setResources');
}