Emoji class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
countEmoji(
String str) → int - Count the emoji in the text.
-
handleAll(
String str, {Handler? emojiHandler, Handler? textHandler}) → void - Handle every emoji and text in the text.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String str, {bool removeEmoji = true}) → String -
Return all emoji in the text.
if
removeEmoji
is true, the emoji will be removed from the text, else the text will be removed. -
replace(
String str, {Replacer? emojiReplacer, Replacer? textReplacer}) → String - Replace all emoji and text in the text with the replacer.
-
split(
String str, {bool withEmoji = true}) → List< String> - Split the text into emoji and text.
-
toString(
) → String -
A string representation of this object.
inherited
-
waitInit(
) → Future
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited