mapFromTextContent function
Implementation
Map<String, String> mapFromTextContent(TextContent content) {
return <String, String>{
TEXT_CONTENT_TITLE: content.title,
TEXT_CONTENT_MESSAGE: content.message,
TEXT_CONTENT_SUMMARY: content.summary,
TEXT_CONTENT_SUB_TITLE: content.subtitle
};
}