serialize method
Implementation
Map<String, dynamic> serialize() {
return <String, dynamic>{
'id': id,
'action': action,
'shortLabel': shortLabel,
'longLabel': longLabel,
'icon': icon,
'shortcutIconType': shortcutIconAsset.index.toString(),
'conversationShortcut': conversationShortcut,
'isImportant': isImportant,
'isBot': isBot,
};
}