ChatShareThemeBackdrop constructor
const
ChatShareThemeBackdrop({
- @JsonKey.new(name: 'id') required int id,
- @JsonKey.new(name: 'name') required String name,
- @JsonKey.new(name: 'colors') required UniqueGiftBackdropColors colors,
Creates a ChatShareThemeBackdrop.
Implementation
const factory ChatShareThemeBackdrop({
/// Unique identifier of the backdrop.
@JsonKey(name: 'id') required int id,
/// Name of the backdrop.
@JsonKey(name: 'name') required String name,
/// Colors of the backdrop.
@JsonKey(name: 'colors') required UniqueGiftBackdropColors colors,
}) = _ChatShareThemeBackdrop;