copyWith method
Implementation
AttributeUserUpdateDto copyWith({
Object? id = _copyWithSentinel,
Object? email = _copyWithSentinel,
Object? secret = _copyWithSentinel,
Object? role = _copyWithSentinel,
Object? profile = _copyWithSentinel,
}) {
return AttributeUserUpdateDto(
id: identical(id, _copyWithSentinel) ? this.id : id as int?,
email: identical(email, _copyWithSentinel)
? this.email
: email as String?,
secret: identical(secret, _copyWithSentinel)
? this.secret
: secret as String?,
role: identical(role, _copyWithSentinel) ? this.role : role as String?,
profile: identical(profile, _copyWithSentinel)
? this.profile
: profile as Map<String, Object?>?,
);
}