toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowExternalMembers != null)
        'allowExternalMembers': allowExternalMembers!,
      if (allowGoogleCommunication != null)
        'allowGoogleCommunication': allowGoogleCommunication!,
      if (allowWebPosting != null) 'allowWebPosting': allowWebPosting!,
      if (archiveOnly != null) 'archiveOnly': archiveOnly!,
      if (customFooterText != null) 'customFooterText': customFooterText!,
      if (customReplyTo != null) 'customReplyTo': customReplyTo!,
      if (customRolesEnabledForSettingsToBeMerged != null)
        'customRolesEnabledForSettingsToBeMerged':
            customRolesEnabledForSettingsToBeMerged!,
      if (defaultMessageDenyNotificationText != null)
        'defaultMessageDenyNotificationText':
            defaultMessageDenyNotificationText!,
      if (defaultSender != null) 'default_sender': defaultSender!,
      if (description != null) 'description': description!,
      if (email != null) 'email': email!,
      if (enableCollaborativeInbox != null)
        'enableCollaborativeInbox': enableCollaborativeInbox!,
      if (favoriteRepliesOnTop != null)
        'favoriteRepliesOnTop': favoriteRepliesOnTop!,
      if (includeCustomFooter != null)
        'includeCustomFooter': includeCustomFooter!,
      if (includeInGlobalAddressList != null)
        'includeInGlobalAddressList': includeInGlobalAddressList!,
      if (isArchived != null) 'isArchived': isArchived!,
      if (kind != null) 'kind': kind!,
      if (maxMessageBytes != null) 'maxMessageBytes': maxMessageBytes!,
      if (membersCanPostAsTheGroup != null)
        'membersCanPostAsTheGroup': membersCanPostAsTheGroup!,
      if (messageDisplayFont != null)
        'messageDisplayFont': messageDisplayFont!,
      if (messageModerationLevel != null)
        'messageModerationLevel': messageModerationLevel!,
      if (name != null) 'name': name!,
      if (primaryLanguage != null) 'primaryLanguage': primaryLanguage!,
      if (replyTo != null) 'replyTo': replyTo!,
      if (sendMessageDenyNotification != null)
        'sendMessageDenyNotification': sendMessageDenyNotification!,
      if (showInGroupDirectory != null)
        'showInGroupDirectory': showInGroupDirectory!,
      if (spamModerationLevel != null)
        'spamModerationLevel': spamModerationLevel!,
      if (whoCanAdd != null) 'whoCanAdd': whoCanAdd!,
      if (whoCanAddReferences != null)
        'whoCanAddReferences': whoCanAddReferences!,
      if (whoCanApproveMembers != null)
        'whoCanApproveMembers': whoCanApproveMembers!,
      if (whoCanApproveMessages != null)
        'whoCanApproveMessages': whoCanApproveMessages!,
      if (whoCanAssignTopics != null)
        'whoCanAssignTopics': whoCanAssignTopics!,
      if (whoCanAssistContent != null)
        'whoCanAssistContent': whoCanAssistContent!,
      if (whoCanBanUsers != null) 'whoCanBanUsers': whoCanBanUsers!,
      if (whoCanContactOwner != null)
        'whoCanContactOwner': whoCanContactOwner!,
      if (whoCanDeleteAnyPost != null)
        'whoCanDeleteAnyPost': whoCanDeleteAnyPost!,
      if (whoCanDeleteTopics != null)
        'whoCanDeleteTopics': whoCanDeleteTopics!,
      if (whoCanDiscoverGroup != null)
        'whoCanDiscoverGroup': whoCanDiscoverGroup!,
      if (whoCanEnterFreeFormTags != null)
        'whoCanEnterFreeFormTags': whoCanEnterFreeFormTags!,
      if (whoCanHideAbuse != null) 'whoCanHideAbuse': whoCanHideAbuse!,
      if (whoCanInvite != null) 'whoCanInvite': whoCanInvite!,
      if (whoCanJoin != null) 'whoCanJoin': whoCanJoin!,
      if (whoCanLeaveGroup != null) 'whoCanLeaveGroup': whoCanLeaveGroup!,
      if (whoCanLockTopics != null) 'whoCanLockTopics': whoCanLockTopics!,
      if (whoCanMakeTopicsSticky != null)
        'whoCanMakeTopicsSticky': whoCanMakeTopicsSticky!,
      if (whoCanMarkDuplicate != null)
        'whoCanMarkDuplicate': whoCanMarkDuplicate!,
      if (whoCanMarkFavoriteReplyOnAnyTopic != null)
        'whoCanMarkFavoriteReplyOnAnyTopic':
            whoCanMarkFavoriteReplyOnAnyTopic!,
      if (whoCanMarkFavoriteReplyOnOwnTopic != null)
        'whoCanMarkFavoriteReplyOnOwnTopic':
            whoCanMarkFavoriteReplyOnOwnTopic!,
      if (whoCanMarkNoResponseNeeded != null)
        'whoCanMarkNoResponseNeeded': whoCanMarkNoResponseNeeded!,
      if (whoCanModerateContent != null)
        'whoCanModerateContent': whoCanModerateContent!,
      if (whoCanModerateMembers != null)
        'whoCanModerateMembers': whoCanModerateMembers!,
      if (whoCanModifyMembers != null)
        'whoCanModifyMembers': whoCanModifyMembers!,
      if (whoCanModifyTagsAndCategories != null)
        'whoCanModifyTagsAndCategories': whoCanModifyTagsAndCategories!,
      if (whoCanMoveTopicsIn != null)
        'whoCanMoveTopicsIn': whoCanMoveTopicsIn!,
      if (whoCanMoveTopicsOut != null)
        'whoCanMoveTopicsOut': whoCanMoveTopicsOut!,
      if (whoCanPostAnnouncements != null)
        'whoCanPostAnnouncements': whoCanPostAnnouncements!,
      if (whoCanPostMessage != null) 'whoCanPostMessage': whoCanPostMessage!,
      if (whoCanTakeTopics != null) 'whoCanTakeTopics': whoCanTakeTopics!,
      if (whoCanUnassignTopic != null)
        'whoCanUnassignTopic': whoCanUnassignTopic!,
      if (whoCanUnmarkFavoriteReplyOnAnyTopic != null)
        'whoCanUnmarkFavoriteReplyOnAnyTopic':
            whoCanUnmarkFavoriteReplyOnAnyTopic!,
      if (whoCanViewGroup != null) 'whoCanViewGroup': whoCanViewGroup!,
      if (whoCanViewMembership != null)
        'whoCanViewMembership': whoCanViewMembership!,
    };