setMute method
Sets the mute state for animation playback.
Parameters:
mute:trueto mute audio,falseto enable audio
Example:
await controller.setMute(true); // Mute audio
await controller.setMute(false); // Enable audio
Implementation
Future<void> setMute(bool mute) async {
await __channel.invokeMethod('setMute', {'mute': mute});
}