toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      if (title != null) 'title': title!.toJson(),
      if (labels != null) 'labels': labels!.toJson(),
      if (min != null) 'min': min,
      if (max != null) 'max': max,
      if (gridLineWidth != null) 'gridLineWidth': gridLineWidth,
    };