copyWith method

TranslateStatus copyWith({
  1. String? modSourceInfoUUID,
  2. int? totalWords,
  3. Map<Locale, int>? translatedWords,
  4. DateTime? lastUpdated,
})

Implementation

TranslateStatus copyWith({
  String? modSourceInfoUUID,
  int? totalWords,
  Map<Locale, int>? translatedWords,
  DateTime? lastUpdated,
}) {
  return TranslateStatus(
    modSourceInfoUUID: modSourceInfoUUID ?? this.modSourceInfoUUID,
    totalWords: totalWords ?? this.totalWords,
    translatedWords: translatedWords ?? this.translatedWords,
    lastUpdated: lastUpdated ?? this.lastUpdated,
  );
}