copyWith method
Implementation
Background copyWith({
int? id,
bool? isDefault,
bool? isDark,
String? name,
Document? document,
BackgroundType? type,
dynamic extra,
int? clientId,
}) =>
Background(
id: id ?? this.id,
isDefault: isDefault ?? this.isDefault,
isDark: isDark ?? this.isDark,
name: name ?? this.name,
document: document ?? this.document,
type: type ?? this.type,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);