Config class

Represents the configuration data for 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 map into a Config object.
factory

Properties

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

Operators

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