ProfileShareThemeEmoji class

A theme with emoji placed on a background

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

ProfileShareThemeEmoji({required List<EmojiType> emojis, required bool useDefaultBackground, required int backgroundBackdropId})
const

Properties

backgroundBackdropId → int
backgroundBackdropId Identifier of the backdrop used as background; must be ignored if use_default_background is true. Use getProfileShareThemeBackdrops to get details about the backdrop
final
emojis → List<EmojiType>
emojis The emoji; 0-6 regular or custom emoji. If empty, then use_default_background is false
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
useDefaultBackground → bool
useDefaultBackground True, if the default background is used; otherwise, the backdrop with identifier background_backdrop_id is used as background
final

Methods

copyWith({List<EmojiType>? emojis, bool? useDefaultBackground, int? backgroundBackdropId}) → ProfileShareThemeEmoji

Available on ProfileShareThemeEmoji, provided by the ProfileShareThemeEmojiExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult emoji(ProfileShareThemeEmoji value), required TResult upgradedGift(ProfileShareThemeUpgradedGift value)}) → TResult

Available on ProfileShareTheme, provided by the ProfileShareThemeExtensions extension

maybeMap<TResult extends Object?>({TResult emoji(ProfileShareThemeEmoji value)?, TResult upgradedGift(ProfileShareThemeUpgradedGift value)?, required TResult orElse()}) → TResult

Available on ProfileShareTheme, provided by the ProfileShareThemeExtensions 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) → ProfileShareThemeEmoji?
Inherited by: ProfileShareThemeEmoji ProfileShareThemeUpgradedGift
override

Constants

constructor → const String