toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'incomingTitleColor': colorToHex(incomingTitleColor),
    'incomingSubTitleColor': colorToHex(incomingSubTitleColor),
    'outgoingTitleColor': colorToHex(outgoingTitleColor),
    'outgoingSubTitleColor': colorToHex(outgoingSubTitleColor),
    'incomingFileViewBackgroundColor':
        colorToHex(incomingFileViewBackgroundColor),
    'outgoingFileViewBackgroundColor':
        colorToHex(outgoingFileViewBackgroundColor),
    'incomingCommentBackgoundColor':
        colorToHex(incomingCommentBackgoundColor),
    'outgoingCommentBackgoundColor':
        colorToHex(outgoingCommentBackgoundColor),
  };
}