constructor(conf = {}) {
    super({ type: 'lottie', ...conf });

    const { data = null, file, filepath, loop = false } = this.conf;
    this.data = data;
    this.loop = loop;
    this.file = file || filepath;

    this.updateCallback = this.updateCallback.bind(this);
    this.initLottie();
  }
FFLottie - Lottie-node is an API for runnig Lottie with the canvas renderer in Node.js, with the help of node-canvas.
This is intended for rendering Lottie animations to images or video.

#### Example:

   const flottie = new FFLottie({ file, loop, width: 600, height: 500 });
   flottie.goToAndStop(15);
   flottie.replaceAsset(17, path.join(__dirname, 'xx.jpg'));


#### Note
    https://github.com/drawcall/lottie-node

@class