Emoji class

Annotations
  • @freezed

Constructors

Emoji({@JsonKey(name: 'shortcode') required String code, required String url, String? staticUrl, @JsonKey(name: 'visible_in_picker') required bool isVisibleInPicker, String? category})
const
factory
Emoji.fromJson(Map<String, Object?> json)
factory

Properties

category String?
Used for sorting custom emoji in the picker.
no setterinherited
code String
The name of the custom emoji.
no setterinherited
copyWith → $EmojiCopyWith<Emoji>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isVisibleInPicker bool
Whether this Emoji should be visible in the picker or unlisted.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
staticUrl String?
A link to a static copy of the custom emoji.
no setterinherited
url String
A link to the custom emoji.
no setterinherited

Methods

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

Operators

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