Platform enum
Enum representing platforms where emojis can be used.
Each platform has a unique value associated with it. This enum provides a way to convert between string values and platform objects.
Values
- Default → const Platform
-
Default shortcodes platform.
const Platform('default')
- CLDR → const Platform
-
CLDR shortcodes platform.
const Platform('cldr')
- Discord → const Platform
-
Discord shortcodes platform.
const Platform('discord')
- Github → const Platform
-
Github shortcodes platform.
const Platform('github')
- Slack → const Platform
-
Slack shortcodes platform.
const Platform('slack')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The String value associated with this platform.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited