toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'margin': this.margin,
'padding': this.padding,
'width': this.width,
'height': this.height,
'fontSize': this.fontSize,
'fontColor': this.fontColor,
'fontWeight': this.fontWeight,
'align': this.align,
'innerAlign': this.innerAlign,
'textLines': this.textLines,
'color': this.color,
'backgroundColor': this.backgroundColor,
'borderRadius': this.borderRadius,
'borderColor': this.borderColor,
'borderWidth': this.borderWidth,
};
}