copyWith method
Watchers
copyWith({
- bool? isWatching,
- String? self,
- int? watchCount,
- List<
UserDetails> ? watchers,
Implementation
Watchers copyWith(
{bool? isWatching,
String? self,
int? watchCount,
List<UserDetails>? watchers}) {
return Watchers(
isWatching: isWatching ?? this.isWatching,
self: self ?? this.self,
watchCount: watchCount ?? this.watchCount,
watchers: watchers ?? this.watchers,
);
}