Map<String, dynamic> toJson() { return {'label': label?.toJson(), 'itemStyle': itemStyle?.toJson()}; }