slackShortcodes property

List<String> get slackShortcodes

Returns the Slack shortcodes of the emoji as a List of Strings.

Example:

Emoji('❤️').slackShortcodes; // [:heart:]
Emoji('😆').slackShortcodes; // [:laughing:, :satisfied:]
Emoji('🫨').slackShortcodes; // []

Implementation

List<String> get slackShortcodes => shortcodes.slack;