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 (dataSourceColumnReference != null)
    'dataSourceColumnReference': dataSourceColumnReference!,
  if (dimensionIndex != null) 'dimensionIndex': dimensionIndex!,
  if (foregroundColor != null) 'foregroundColor': foregroundColor!,
  if (foregroundColorStyle != null)
    'foregroundColorStyle': foregroundColorStyle!,
  if (sortOrder != null) 'sortOrder': sortOrder!,
};