copyWith method
TranslationVote
copyWith({
- String? uuid,
- TranslationVoteType? type,
- String? translationUUID,
- 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,
);
}