MastodonCustomEmoji class
Custom emoji on Mastodon.
Represents a :shortcode: format emoji found in account profiles and
status text.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- MastodonCustomEmoji({required String shortcode, required String url, required String staticUrl, required bool visibleInPicker, String? category})
-
const
-
MastodonCustomEmoji.fromJson(Map<
String, dynamic> json) -
factory
Properties
- category → String?
-
Category name the emoji belongs to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortcode → String
-
Shortcode in
:shortcode:format (without the colons).final - staticUrl → String
-
URL of the static image.
final
- url → String
-
URL of the animated image.
final
- visibleInPicker → bool
-
Whether to show in the emoji picker.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited