ProfileShareThemeBackdrop class

Describes a backdrop, which can be used as a background of a theme of the screen for sharing a link to a user or a chat

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

ProfileShareThemeBackdrop({required int id, required String name, required UpgradedGiftBackdropColors colors})
const

Properties

colors → UpgradedGiftBackdropColors
colors Colors of the backdrop
final
hashCode → int
The hash code for this object.
no setteroverride
id → int
id Unique identifier of the backdrop
final
name → String
name Name of the backdrop
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? id, String? name, UpgradedGiftBackdropColors? colors}) → ProfileShareThemeBackdrop

Available on ProfileShareThemeBackdrop, provided by the ProfileShareThemeBackdropExtensions extension

getConstructor() → String
override
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) → ProfileShareThemeBackdrop?

Constants

constructor → const String