toMap method
- @override
model -> map
Implementation
@override
Map<String, Object?> toMap() {
return {
'modelPath': this.modelPath,
'modelName': this.modelName,
'scale': this.scale,
'zoomFixed': this.zoomFixed,
'rotateX': this.rotateX,
'rotateY': this.rotateY,
'rotateZ': this.rotateZ,
'offsetX': this.offsetX,
'offsetY': this.offsetY,
'type': this.type?.index,
'animationSpeed': this.animationSpeed,
'animationIsEnable': this.animationIsEnable,
'animationRepeatCount': this.animationRepeatCount,
'animationIndex': this.animationIndex,
};
}