copyWith method

TranslationVote copyWith({
  1. String? uuid,
  2. TranslationVoteType? type,
  3. String? translationUUID,
  4. String? userUUID,
})

Implementation

TranslationVote copyWith({
  String? uuid,
  TranslationVoteType? type,
  String? translationUUID,
  String? userUUID,
}) {
  return TranslationVote(
    uuid: uuid ?? this.uuid,
    type: type ?? this.type,
    translationUUID: translationUUID ?? this.translationUUID,
    userUUID: userUUID ?? this.userUUID,
  );
}