toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'backgroundColor': backgroundColor.toARGB32(),
'containerColor': containerColor.toARGB32(),
'adMarkLabelTextColor': adMarkLabelTextColor.toARGB32(),
'adMarkLabelBackgroundColor': adMarkLabelBackgroundColor.toARGB32(),
'titleColor': titleColor.toARGB32(),
'bodyColor': bodyColor.toARGB32(),
'ctaBackgroundColor': ctaBackgroundColor.toARGB32(),
'ctaTextColor': ctaTextColor.toARGB32(),
'closeButtonText': closeButtonText,
'closeButtonColor': closeButtonColor.toARGB32(),
};
}