toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'height': height,
'padding': padding,
'background': background,
'borderRadius': borderRadius,
'boxShadow': boxShadow,
'borderStyle': borderStyle,
'borderColor': borderColor,
'borderWidth': borderWidth,
'color': color,
'fontFamily': fontFamily,
'fontWeight': fontWeight,
'fontSize': fontSize,
'fontSmoothing': fontSmoothing,
'lineHeight': lineHeight,
};
}