RecentEmoji class

Class that holds an recent emoji Recent Emoji has an instance of the emoji And a counter, which counts how often this emoji has been used before

Constructors

RecentEmoji(Emoji emoji, int counter)
Constructor

Properties

counter int
Counter how often emoji has been used before
getter/setter pair
emoji Emoji
Emoji instance
final
hashCode int
The hash code for this object.
no setterinherited
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>
Encode RecentEmoji to json
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(dynamic json) RecentEmoji
Parse RecentEmoji from json