toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (barColor != null) 'barColor': barColor!,
  if (barColorStyle != null) 'barColorStyle': barColorStyle!,
  if (data != null) 'data': data!,
};