copyWith method

PronunciationDictionaryVersionResponseModel copyWith({
  1. String? versionId,
  2. int? versionRulesNum,
  3. String? pronunciationDictionaryId,
  4. String? dictionaryName,
  5. String? versionName,
  6. dynamic permissionOnResource,
  7. String? createdBy,
  8. int? creationTimeUnix,
  9. dynamic archivedTimeUnix,
})

Implementation

PronunciationDictionaryVersionResponseModel copyWith(
    {String? versionId,
    int? versionRulesNum,
    String? pronunciationDictionaryId,
    String? dictionaryName,
    String? versionName,
    dynamic permissionOnResource,
    String? createdBy,
    int? creationTimeUnix,
    dynamic archivedTimeUnix}) {
  return PronunciationDictionaryVersionResponseModel(
      versionId: versionId ?? this.versionId,
      versionRulesNum: versionRulesNum ?? this.versionRulesNum,
      pronunciationDictionaryId:
          pronunciationDictionaryId ?? this.pronunciationDictionaryId,
      dictionaryName: dictionaryName ?? this.dictionaryName,
      versionName: versionName ?? this.versionName,
      permissionOnResource: permissionOnResource ?? this.permissionOnResource,
      createdBy: createdBy ?? this.createdBy,
      creationTimeUnix: creationTimeUnix ?? this.creationTimeUnix,
      archivedTimeUnix: archivedTimeUnix ?? this.archivedTimeUnix);
}