Emoji class

A class to store data for each individual emoji

Annotations

Constructors

Emoji(String name, String emoji, {bool hasSkinTone = false})
Emoji constructor
const

Properties

emoji String
The unicode string for this emoji
final
hashCode int
The hash code for this object.
no setterinherited
hasSkinTone bool
Flag if emoji supports multiple skin tones
final
name String
The name or description for this emoji
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? name, String? emoji, bool? hasSkinTone}) Emoji
Copy method
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Encode Emoji to json
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) Emoji
Parse Emoji from json