toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final backgroundColor = this.backgroundColor;
  final color = this.color;
  final fontFamily = this.fontFamily;
  final fontSize = this.fontSize;
  final fontWeight = this.fontWeight;
  final textAnchor = this.textAnchor;
  final textDecoration = this.textDecoration;
  final textStyle = this.textStyle;
  return {
    'backgroundColor': ?backgroundColor,
    'color': ?color,
    'fontFamily': ?fontFamily,
    'fontSize': ?fontSize,
    'fontWeight': ?fontWeight,
    'textAnchor': ?textAnchor,
    'textDecoration': ?textDecoration,
    'textStyle': ?textStyle,
  };
}