Model toFlameModel([int? scene]) { return Model( nodes: toFlameNodes(scene), animations: animations.map((animation) => animation.toFlameAnimation()).toList(), ); }