Layer({ this.preview = false, List<Image>? images, List<Animation>? animations, }) : images = images ?? [], animations = animations ?? [];