copyWith method

AppTheme copyWith({
  1. int? selectedColor,
  2. bool? isDarkmode,
})

Implementation

AppTheme copyWith({int? selectedColor, bool? isDarkmode}) => AppTheme(
      selectedColor: selectedColor ?? this.selectedColor,
      isDarkmode: isDarkmode ?? this.isDarkmode,
    );