InputProfileShareThemeUpgradedGift class

A theme based on an upgraded gift

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

InputProfileShareThemeUpgradedGift({required String receivedGiftId})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
receivedGiftId → String
receivedGiftId Identifier of the upgraded gift, which is owned by the user or the chat, for which the theme is set
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? receivedGiftId}) → InputProfileShareThemeUpgradedGift

Available on InputProfileShareThemeUpgradedGift, provided by the InputProfileShareThemeUpgradedGiftExtensions 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