toMap method
- @override
override
model -> map
Implementation
@override
Map<String, Object> toMap() {
return {
'id': this.Id,
'center': this.center?.toMap(),
'radius': this.radius,
'width': this.width,
'strokeColor': this.strokeColor?.value?.toRadixString(16),
'fillColor': this.fillColor?.value?.toRadixString(16),
'lineDashType': this.lineDashType?.index,
'dottedLine': this.dottedLine,
'hollowShapes': this.hollowShapes?.map((e) => e?.toMap())?.toList(),
'zIndex': this.zIndex,
'visible': this.visible
};
}