copyWith method

Watch copyWith({
  1. String? type,
  2. WatchUser? watcher,
  3. int? contentId,
})

Implementation

Watch copyWith({String? type, WatchUser? watcher, int? contentId}) {
  return Watch(
    type: type ?? this.type,
    watcher: watcher ?? this.watcher,
    contentId: contentId ?? this.contentId,
  );
}