InputProfileShareThemeEmoji class

A theme with emoji placed on a background

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

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

Properties

backgroundBackdropId → int
backgroundBackdropId Identifier of the backdrop to be used as background; ignored if use_default_background is true. Use getProfileShareThemeBackdrops to get the list of available backdrops
final
emojis → List<EmojiType>
emojis The emoji; 0-6 regular or custom emoji. If empty, then use_default_background must be 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 Pass true to use the default background; otherwise, the backdrop with identifier background_backdrop_id will be used as background
final

Methods

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

Available on InputProfileShareThemeEmoji, provided by the InputProfileShareThemeEmojiExtensions extension

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

Available on InputProfileShareTheme, provided by the InputProfileShareThemeExtensions extension

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

Available on InputProfileShareTheme, provided by the InputProfileShareThemeExtensions 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

Constants

constructor → const String