toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'backgroundColor': backgroundColor?.value,
'selectionFillColor': selectionFillColor?.value,
'selectionStrokeColor': selectionStrokeColor?.value,
'selectionShadowColor': selectionShadowColor?.value,
'selectionStyle': selectionStyle?.name,
'previewTitleAttributes': previewTitleAttributes?.toJson(),
'previewSubtitleAttributes': previewSubtitleAttributes?.toJson(),
'albumTitleAttributes': albumTitleAttributes?.toJson(),
};
}