copyWith method
Implementation
PortalApplicationCategory copyWith({
int? id,
int? user,
String? distinguishedName,
String? nameZh,
Value<String?> nameEn = const Value.absent(),
int? position,
}) => PortalApplicationCategory(
id: id ?? this.id,
user: user ?? this.user,
distinguishedName: distinguishedName ?? this.distinguishedName,
nameZh: nameZh ?? this.nameZh,
nameEn: nameEn.present ? nameEn.value : this.nameEn,
position: position ?? this.position,
);