AvailableFeatures class

Represents the available features in a chat application.

Constructors

AvailableFeatures({bool? isLocationAttachmentAvailable, bool? isClearChatAvailable, bool? isDeleteChatAvailable, bool? isVideoAttachmentAvailable, bool? isOneToOneCallAvailable, bool? isTranslationAvailable, bool? isViewAllMediaAvailable, bool? isDocumentAttachmentAvailable, bool? isGroupCallAvailable, bool? isRecentChatSearchAvailable, bool? isImageAttachmentAvailable, bool? isGroupChatAvailable, bool? isContactAttachmentAvailable, bool? isStarMessageAvailable, bool? isAttachmentAvailable, bool? isAudioAttachmentAvailable, bool? isBlockAvailable, bool? isReportAvailable, bool? isDeleteMessageAvailable, bool? isChatHistoryAvailable})
Initializes a new instance of the AvailableFeatures class.
AvailableFeatures.fromJson(Map<String, dynamic> json)
Converts a map into an AvailableFeatures object.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isAttachmentAvailable bool?
Indicates whether attachment is available.
getter/setter pair
isAudioAttachmentAvailable bool?
Indicates whether audio attachment is available.
getter/setter pair
isBlockAvailable bool?
Indicates whether block is available.
getter/setter pair
isChatHistoryAvailable bool?
Indicates whether chat history is available.
getter/setter pair
isClearChatAvailable bool?
Indicates whether the clear chat feature is available.
getter/setter pair
isContactAttachmentAvailable bool?
Indicates whether contact attachment is available.
getter/setter pair
isDeleteChatAvailable bool?
Indicates whether the delete chat feature is available.
getter/setter pair
isDeleteMessageAvailable bool?
Indicates whether delete message is available.
getter/setter pair
isDocumentAttachmentAvailable bool?
Indicates whether document attachment is available.
getter/setter pair
isGroupCallAvailable bool?
Indicates whether group call is available.
getter/setter pair
isGroupChatAvailable bool?
Indicates whether group chat is available.
getter/setter pair
isImageAttachmentAvailable bool?
Indicates whether image attachment is available.
getter/setter pair
isLocationAttachmentAvailable bool?
Indicates whether location attachment is available.
getter/setter pair
isOneToOneCallAvailable bool?
Indicates whether one-to-one call is available.
getter/setter pair
isRecentChatSearchAvailable bool?
Indicates whether recent chat search is available.
getter/setter pair
isReportAvailable bool?
Indicates whether report is available.
getter/setter pair
isStarMessageAvailable bool?
Indicates whether star message is available.
getter/setter pair
isTranslationAvailable bool?
Indicates whether translation is available.
getter/setter pair
isVideoAttachmentAvailable bool?
Indicates whether video attachment is available.
getter/setter pair
isViewAllMediaAvailable bool?
Indicates whether view all media is available.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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