toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'backgroundColor': colorToHex(backgroundColor),
'backgroundImage': colorToHex(backgroundImage),
'Message': message.toMap(),
'HandOffBanner': handOffBanner.toMap(),
'Banner': banner.toMap(),
'QueueBanner': queueBanner.toMap(),
'Input': input.toMap(),
'AttachmentsSheet': attachmentsSheet.toMap(),
'ScrollButton': scrollButton.toMap(),
'EmailTranscript': emailTranscript.toMap(),
'DebugLog': debugLog.toMap(),
};
}