toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (condition != null) 'condition': condition!,
  if (hiddenValues != null) 'hiddenValues': hiddenValues!,
  if (visibleBackgroundColor != null)
    'visibleBackgroundColor': visibleBackgroundColor!,
  if (visibleBackgroundColorStyle != null)
    'visibleBackgroundColorStyle': visibleBackgroundColorStyle!,
  if (visibleForegroundColor != null)
    'visibleForegroundColor': visibleForegroundColor!,
  if (visibleForegroundColorStyle != null)
    'visibleForegroundColorStyle': visibleForegroundColorStyle!,
};