payload_transformer library

Constants

ACTION → const String
ACTION_TYPE → const String
CAMPAIGN_ID → const String
EXPIRY_TIME → const String
ID → const String
IS_CLICKED → const String
KV_PAIR → const String
MEDIA_CONTENT → const String
MESSAGES → const String
PAYLOAD → const String
PLATFORM → const String
RECEIVED_TIME → const String
TAG → const String
TEXT_CONTENT → const String
TEXT_CONTENT_MESSAGE → const String
TEXT_CONTENT_SUB_TITLE → const String
TEXT_CONTENT_SUMMARY → const String
TEXT_CONTENT_TITLE → const String
TYPE → const String
URL → const String
VALUE → const String

Functions

actionFromMap(Map<String, dynamic> actionMap) Action?
actionsFromMap(List actions) List<Action>
actionsListFromModel(List<Action> actions) List<Map<String, dynamic>>
actionToMap(Action action) Map<String, dynamic>?
deSerializeInboxMessages(dynamic messagesPayload) InboxData
mapFromMedia(Media media) Map<String, String>
mapFromTextContent(TextContent content) Map<String, String>
mediaFromMap(Map<String, dynamic> mediaMap) Media?
messageFromJson(Map<String, dynamic> message) InboxMessage?
messagesJsonToList(List messageArray) List<InboxMessage>
messageToMap(InboxMessage inboxMessage) Map<String, dynamic>
textContentFromMap(Map<String, dynamic> textMap) TextContent