toJson method

Map toJson ()

Implementation

Map toJson() {
  return {
    "type": getStringFromEnum(JMConversationType.chatRoom),
    "roomId": roomId
    };
}