takeSnapshot method
Saves snapshot of a video to a desired File location.
Implementation
void takeSnapshot(File file, int width, int height) {
final filePathCStr = file.path.toNativeUtf8();
PlayerFFI.takeSnapshot(
this.id,
filePathCStr,
width,
height,
);
calloc.free(filePathCStr);
}