toMap method
- @override
override
model -> map
Implementation
@override
Map<String, Object> toMap() {
return {
'id': this.Id,
'image': this.image,
'width': this.width,
'height': this.height,
'anchorX': this.anchorX,
'anchorY': this.anchorY,
'zoomLevel': this.zoomLevel,
'position': this.position?.toMap(),
'bounds': this.bounds?.toMap(),
'transparency': this.transparency,
'zIndex': this.zIndex,
'visible': this.visible
};
}