AppInfo class

Represents information obtained from the application settings. The values for this will be set after a connection has been made.

Annotations

Constructors

AppInfo({required List<String> premiumFeatureList, required int uploadSizeLimit, required List<String> attributesInUse, required String emojiHash, required bool useReaction, NotificationInfo? notificationInfo})
AppInfo.fromJson(Map<String, dynamic> json)
factory

Properties

attributesInUse List<String>
List of all attributes that the application is using.
final
emojiHash String
The current registered emoji version hash.
final
hashCode int
The hash code for this object.
read-onlyinherited
notificationInfo NotificationInfo?
Notification info. @since 4.0.1
final
premiumFeatureList List<String>
List of all premium features that application is using.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
uploadSizeLimit int
The maximum limit of file size for uploading.
final
useReaction bool
Whether an application is using the reaction feature.
final

Methods

needUpdateEmoji(String prevEmojiHash) bool
Checks whether the emoji list needs to be updated.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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