AppInfo class Null safety

Represents current Sendbird application information.

Annotations

Constructors

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

Properties

applicationAttributes List<String>
list of application attributes of current application id
@JsonKey(defaultValue: const []), final
emojiHash String
Latest hash value for emoji
final
hashCode int
The hash code for this object. [...]
read-only, inherited
premiumFeatureList List<String>
List of premium feature on current application id
@JsonKey(defaultValue: const []), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uploadSizeLimit int
Uplodable file size limit (unit in bytes)
@JsonKey(defaultValue: 30 * 1024 * 1024), final
useReaction bool
True if reaction feature is enabled
final

Methods

isEmojiUpdatedNeeded(String prevEmojiHash) bool
Return true if a given prevEmojiHash is outdated
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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