copyWith method
AppUserCompanion
copyWith({
- Value<
int> ? id, - Value<
String> ? userName, - Value<
String> ? email, - Value<
String> ? fullName, - Value<
String> ? encryptedPassword, - Value<
bool> ? enabled, - Value<
bool> ? activated, - Value<
String?> ? accessToken, - Value<
int?> ? employeeId, - Value<
DateTime?> ? lastActiveDatetime, - Value<
bool> ? isSystemUser, - Value<
String?> ? imagePath,
Implementation
AppUserCompanion copyWith({
Value<int>? id,
Value<String>? userName,
Value<String>? email,
Value<String>? fullName,
Value<String>? encryptedPassword,
Value<bool>? enabled,
Value<bool>? activated,
Value<String?>? accessToken,
Value<int?>? employeeId,
Value<DateTime?>? lastActiveDatetime,
Value<bool>? isSystemUser,
Value<String?>? imagePath,
}) {
return AppUserCompanion(
id: id ?? this.id,
userName: userName ?? this.userName,
email: email ?? this.email,
fullName: fullName ?? this.fullName,
encryptedPassword: encryptedPassword ?? this.encryptedPassword,
enabled: enabled ?? this.enabled,
activated: activated ?? this.activated,
accessToken: accessToken ?? this.accessToken,
employeeId: employeeId ?? this.employeeId,
lastActiveDatetime: lastActiveDatetime ?? this.lastActiveDatetime,
isSystemUser: isSystemUser ?? this.isSystemUser,
imagePath: imagePath ?? this.imagePath,
);
}