toMap method
- @override
model -> map
Implementation
@override
Map<String, Object?> toMap() {
return {
'bgColor': this.bgColor?.value.toRadixString(16),
'fontColor': this.fontColor?.value.toRadixString(16),
'fontSize': this.fontSize,
'text': this.text,
'titleYOffset': this.titleYOffset,
'titleXOffset': this.titleXOffset,
'titleRotate': this.titleRotate,
'titleAnchorX': this.titleAnchorX,
'titleAnchorY': this.titleAnchorY,
};
}