playFile method
Plays a VAP animation from a file path.
The filePath should point to a valid VAP file accessible to the app.
This is typically used for files downloaded to the device or copied
to the app's documents directory.
Throws an exception if the file cannot be found or played.
Example:
await controller.playFile('/path/to/animation.mp4');
Implementation
Future<void> playFile(String filePath) async {
await __channel.invokeMethod('playFile', {'filePath': filePath});
}