toMap method
- @override
override
model -> map
Implementation
@override
Map<String, Object> toMap() {
return {
'id': this.getId(),
'position': this.position?.toMap(),
'title': this.title,
'subtitle': this.subtitle,
'isLockedToScreen': this.isLockedToScreen,
'screenPointToLock': this.screenPointToLock?.toMap(),
'identifier': this.identifier,
'icon': this.icon,
'centerOffset': this.centerOffset?.toMap(),
'enabled3D': this.enabled3D,
'enabled': this.enabled,
'draggable': this.draggable,
'scaleX': this.scaleX,
'scaleY': this.scaleY,
'alpha': this.alpha,
'isPerspective': this.isPerspective,
'zIndex': this.zIndex,
'visible': this.visible,
};
}