toMap method
Converts the content style to a map for the MethodChannel.
Implementation
Map<String, dynamic> toMap() {
return {
'titleColor': titleColor.toARGB32(),
'titleFontSize': titleFontSize,
'textColor': textColor.toARGB32(),
'contentFontSize': contentFontSize,
};
}