toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'color': color,
    'fontStyle': fontStyle,
    'fontWeight': fontWeight,
    'fontFamily': fontFamily,
    'fontSize': fontSize,
    'align': align,
    'verticalAlign': verticalAlign,
    'lineHeight': lineHeight,
    'backgroundColor': backgroundColor,
    'borderColor': borderColor,
    'borderWidth': borderWidth,
    'borderRadius': borderRadius,
    'padding': padding,
  };
}