toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (backgroundColor != null) 'backgroundColor': backgroundColor!,
  if (backgroundColorStyle != null)
    'backgroundColorStyle': backgroundColorStyle!,
  if (borders != null) 'borders': borders!,
  if (horizontalAlignment != null)
    'horizontalAlignment': horizontalAlignment!,
  if (hyperlinkDisplayType != null)
    'hyperlinkDisplayType': hyperlinkDisplayType!,
  if (numberFormat != null) 'numberFormat': numberFormat!,
  if (padding != null) 'padding': padding!,
  if (textDirection != null) 'textDirection': textDirection!,
  if (textFormat != null) 'textFormat': textFormat!,
  if (textRotation != null) 'textRotation': textRotation!,
  if (verticalAlignment != null) 'verticalAlignment': verticalAlignment!,
  if (wrapStrategy != null) 'wrapStrategy': wrapStrategy!,
};