toMap method
- @override
override
model -> map
Implementation
@override
Map<String, Object> toMap() {
return {
'id': this.Id,
'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,
'selected': this.selected,
'canShowCallout': this.canShowCallout,
'hidePaopaoWhenSingleTapOnMap': this.hidePaopaoWhenSingleTapOnMap,
'hidePaopaoWhenDoubleTapOnMap': this.hidePaopaoWhenDoubleTapOnMap,
'hidePaopaoWhenTwoFingersTapOnMap': this.hidePaopaoWhenTwoFingersTapOnMap,
'hidePaopaoWhenSelectOthers': this.hidePaopaoWhenSelectOthers,
'hidePaopaoWhenDrag': this.hidePaopaoWhenDrag,
'hidePaopaoWhenDragOthers': this.hidePaopaoWhenDragOthers,
'displayPriority': this.displayPriority,
'scaleX': this.scaleX,
'scaleY': this.scaleY,
'alpha': this.alpha,
'isPerspective': this.isPerspective,
'zIndex': this.zIndex,
'visible': this.visible,
};
}