copyWith method
ProfileAccentColor
copyWith({
- int? id,
- ProfileAccentColors? lightThemeColors,
- ProfileAccentColors? darkThemeColors,
- int? minSupergroupChatBoostLevel,
- int? minChannelChatBoostLevel,
Implementation
ProfileAccentColor copyWith({
int? id,
ProfileAccentColors? lightThemeColors,
ProfileAccentColors? darkThemeColors,
int? minSupergroupChatBoostLevel,
int? minChannelChatBoostLevel,
}) => ProfileAccentColor(
id: id ?? this.id,
lightThemeColors: lightThemeColors ?? this.lightThemeColors,
darkThemeColors: darkThemeColors ?? this.darkThemeColors,
minSupergroupChatBoostLevel:
minSupergroupChatBoostLevel ?? this.minSupergroupChatBoostLevel,
minChannelChatBoostLevel:
minChannelChatBoostLevel ?? this.minChannelChatBoostLevel,
);