copyWith method

SetDefaultBackground copyWith({
  1. InputBackground? background,
  2. BackgroundType? type,
  3. bool? forDarkTheme,
})

Implementation

SetDefaultBackground copyWith({
  InputBackground? background,
  BackgroundType? type,
  bool? forDarkTheme,
}) => SetDefaultBackground(
  background: background ?? this.background,
  type: type ?? this.type,
  forDarkTheme: forDarkTheme ?? this.forDarkTheme,
);