copyWith method

ProfileAccentColor copyWith({
  1. int? id,
  2. ProfileAccentColors? lightThemeColors,
  3. ProfileAccentColors? darkThemeColors,
  4. int? minSupergroupChatBoostLevel,
  5. 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,
);