Config class

Represents the configuration data associated with a user.

Constructors

Config({String? domain, int? videoLimit, int? audioLimit, int? recallTime, int? privateTime, String? xmppDomain, String? xmppHost, int? xmppPort, String? adminUser, String? googleTranslate, String? signalServerDomain, String? notificationHelpUrl, String? sdkUrl, int? pinExpireDays, int? pinTimeOut, int? fileSizeLimit, List<String>? stuns, List<Turn>? turns, dynamic liveStreamingSignalServer, bool? isLiveStreamingEnabled, bool? sipcallEnabled, dynamic sipServer, String? callRoutingServer, dynamic chatBackupType, dynamic chatBackupFrequency, String? xmppPortWeb, String? iv, String? ivProfile, bool? groupChat, bool? attachment, bool? imageAttachment, bool? videoAttachment, bool? audioAttachment, bool? documentAttachment, bool? contactAttachment, bool? locationAttachment, bool? one2OneCall, bool? groupCall, bool? recentchatSearch, bool? starMessage, bool? clearChat, bool? deleteChat, bool? translation, bool? block, bool? report, bool? deleteMessage, bool? viewAllMedias, bool? chatHistory})
Initializes a new instance of the Config class.
Config.fromJson(Map<String, dynamic> json)
Converts a JSON object into a Config instance.
factory

Properties

adminUser ↔ String?
The admin user of the user.
getter/setter pair
attachment ↔ bool?
A boolean indicating if attachments are enabled.
getter/setter pair
audioAttachment ↔ bool?
A boolean indicating if audio attachments are enabled.
getter/setter pair
audioLimit ↔ int?
The audio limit of the user.
getter/setter pair
block ↔ bool?
A boolean indicating if blocking is enabled.
getter/setter pair
callRoutingServer ↔ String?
The call routing server of the user.
getter/setter pair
chatBackupFrequency ↔ dynamic
The chat backup frequency of the user.
getter/setter pair
chatBackupType ↔ dynamic
The chat backup type of the user.
getter/setter pair
chatHistory ↔ bool?
A boolean indicating if chat history is enabled.
getter/setter pair
clearChat ↔ bool?
A boolean indicating if chat clearing is enabled.
getter/setter pair
contactAttachment ↔ bool?
A boolean indicating if contact attachments are enabled.
getter/setter pair
deleteChat ↔ bool?
A boolean indicating if chat deletion is enabled.
getter/setter pair
deleteMessage ↔ bool?
A boolean indicating if message deletion is enabled.
getter/setter pair
documentAttachment ↔ bool?
A boolean indicating if document attachments are enabled.
getter/setter pair
domain ↔ String?
The domain of the user.
getter/setter pair
fileSizeLimit ↔ int?
The file size limit of the user.
getter/setter pair
googleTranslate ↔ String?
The Google Translate of the user.
getter/setter pair
groupCall ↔ bool?
A boolean indicating if group calls are enabled.
getter/setter pair
groupChat ↔ bool?
A boolean indicating if group chat is enabled.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
imageAttachment ↔ bool?
A boolean indicating if image attachments are enabled.
getter/setter pair
isLiveStreamingEnabled ↔ bool?
A boolean indicating if live streaming is enabled.
getter/setter pair
iv ↔ String?
The IV of the user.
getter/setter pair
ivProfile ↔ String?
The profile IV of the user.
getter/setter pair
liveStreamingSignalServer ↔ dynamic
The live streaming signal server of the user.
getter/setter pair
locationAttachment ↔ bool?
A boolean indicating if location attachments are enabled.
getter/setter pair
notificationHelpUrl ↔ String?
The notification help URL of the user.
getter/setter pair
one2OneCall ↔ bool?
A boolean indicating if one-to-one calls are enabled.
getter/setter pair
pinExpireDays ↔ int?
The PIN expire days of the user.
getter/setter pair
pinTimeOut ↔ int?
The PIN timeout of the user.
getter/setter pair
privateTime ↔ int?
The private time of the user.
getter/setter pair
recallTime ↔ int?
The recall time of the user.
getter/setter pair
recentchatSearch ↔ bool?
A boolean indicating if recent chat search is enabled.
getter/setter pair
report ↔ bool?
A boolean indicating if reporting is enabled.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sdkUrl ↔ String?
The SDK URL of the user.
getter/setter pair
signalServerDomain ↔ String?
The signal server domain of the user.
getter/setter pair
sipcallEnabled ↔ bool?
A boolean indicating if SIP calling is enabled.
getter/setter pair
sipServer ↔ dynamic
The SIP server of the user.
getter/setter pair
starMessage ↔ bool?
A boolean indicating if starred messages are enabled.
getter/setter pair
stuns ↔ List<String>?
The STUN servers of the user.
getter/setter pair
translation ↔ bool?
A boolean indicating if translation is enabled.
getter/setter pair
turns ↔ List<Turn>?
The TURN servers of the user.
getter/setter pair
videoAttachment ↔ bool?
A boolean indicating if video attachments are enabled.
getter/setter pair
videoLimit ↔ int?
The video limit of the user.
getter/setter pair
viewAllMedias ↔ bool?
A boolean indicating if viewing all media is enabled.
getter/setter pair
xmppDomain ↔ String?
The XMPP domain of the user.
getter/setter pair
xmppHost ↔ String?
The XMPP host of the user.
getter/setter pair
xmppPort ↔ int?
The XMPP port of the user.
getter/setter pair
xmppPortWeb ↔ String?
The XMPP web port of the user.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts a Config instance into a JSON object.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited