EmojiTypeRegular class

A regular emoji

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

EmojiTypeRegular({required String emoji})
const

Properties

emoji → String
emoji Text representation of the emoji
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? emoji}) → EmojiTypeRegular

Available on EmojiTypeRegular, provided by the EmojiTypeRegularExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult regular(EmojiTypeRegular value), required TResult customEmoji(EmojiTypeCustomEmoji value)}) → TResult

Available on EmojiType, provided by the EmojiTypeExtensions extension

maybeMap<TResult extends Object?>({TResult regular(EmojiTypeRegular value)?, TResult customEmoji(EmojiTypeCustomEmoji value)?, required TResult orElse()}) → TResult

Available on EmojiType, provided by the EmojiTypeExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Map<String, dynamic>? json) → EmojiTypeRegular?
Inherited by: EmojiTypeCustomEmoji EmojiTypeRegular
override

Constants

constructor → const String