copyWith method

LanguagePackInfo copyWith({
  1. String? id,
  2. String? baseLanguagePackId,
  3. String? name,
  4. String? nativeName,
  5. String? pluralCode,
  6. bool? isOfficial,
  7. bool? isRtl,
  8. bool? isBeta,
  9. bool? isInstalled,
  10. int? totalStringCount,
  11. int? translatedStringCount,
  12. int? localStringCount,
  13. String? translationUrl,
  14. dynamic extra,
  15. int? clientId,
})

Implementation

LanguagePackInfo copyWith({
  String? id,
  String? baseLanguagePackId,
  String? name,
  String? nativeName,
  String? pluralCode,
  bool? isOfficial,
  bool? isRtl,
  bool? isBeta,
  bool? isInstalled,
  int? totalStringCount,
  int? translatedStringCount,
  int? localStringCount,
  String? translationUrl,
  dynamic extra,
  int? clientId,
}) => LanguagePackInfo(
  id: id ?? this.id,
  baseLanguagePackId: baseLanguagePackId ?? this.baseLanguagePackId,
  name: name ?? this.name,
  nativeName: nativeName ?? this.nativeName,
  pluralCode: pluralCode ?? this.pluralCode,
  isOfficial: isOfficial ?? this.isOfficial,
  isRtl: isRtl ?? this.isRtl,
  isBeta: isBeta ?? this.isBeta,
  isInstalled: isInstalled ?? this.isInstalled,
  totalStringCount: totalStringCount ?? this.totalStringCount,
  translatedStringCount: translatedStringCount ?? this.translatedStringCount,
  localStringCount: localStringCount ?? this.localStringCount,
  translationUrl: translationUrl ?? this.translationUrl,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);