toJson method
Converts an AvailableFeatures object into a map.
Implementation
Map<String, dynamic> toJson() => {
"isLocationAttachmentEnabled": isLocationAttachmentAvailable,
"isClearChatEnabled": isClearChatAvailable,
"isDeleteChatEnabled": isDeleteChatAvailable,
"isVideoAttachmentEnabled": isVideoAttachmentAvailable,
"isOneToOneCallEnabled": isOneToOneCallAvailable,
"isTranslationEnabled": isTranslationAvailable,
"isViewAllMediaEnabled": isViewAllMediaAvailable,
"isDocumentAttachmentEnabled": isDocumentAttachmentAvailable,
"isGroupCallEnabled": isGroupCallAvailable,
"isRecentChatSearchEnabled": isRecentChatSearchAvailable,
"isImageAttachmentEnabled": isImageAttachmentAvailable,
"isGroupChatEnabled": isGroupChatAvailable,
"isContactAttachmentEnabled": isContactAttachmentAvailable,
"isStarMessageEnabled": isStarMessageAvailable,
"isAttachmentEnabled": isAttachmentAvailable,
"isAudioAttachmentEnabled": isAudioAttachmentAvailable,
"isBlockEnabled": isBlockAvailable,
"isReportEnabled": isReportAvailable,
"isDeleteMessageEnabled": isDeleteMessageAvailable,
"isChatHistoryEnabled": isChatHistoryAvailable,
};