copyWith method

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

Implementation

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