custom static method
Insertable<AppUserData>
custom({
- Expression<
int> ? id, - Expression<
String> ? userName, - Expression<
String> ? email, - Expression<
String> ? fullName, - Expression<
String> ? encryptedPassword, - Expression<
bool> ? enabled, - Expression<
bool> ? activated, - Expression<
String> ? accessToken, - Expression<
int> ? employeeId, - Expression<
DateTime> ? lastActiveDatetime, - Expression<
bool> ? isSystemUser, - Expression<
String> ? imagePath,
Implementation
static Insertable<AppUserData> custom({
Expression<int>? id,
Expression<String>? userName,
Expression<String>? email,
Expression<String>? fullName,
Expression<String>? encryptedPassword,
Expression<bool>? enabled,
Expression<bool>? activated,
Expression<String>? accessToken,
Expression<int>? employeeId,
Expression<DateTime>? lastActiveDatetime,
Expression<bool>? isSystemUser,
Expression<String>? imagePath,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (userName != null) 'user_name': userName,
if (email != null) 'email': email,
if (fullName != null) 'full_name': fullName,
if (encryptedPassword != null) 'encrypted_password': encryptedPassword,
if (enabled != null) 'enabled': enabled,
if (activated != null) 'activated': activated,
if (accessToken != null) 'access_token': accessToken,
if (employeeId != null) 'employee_id': employeeId,
if (lastActiveDatetime != null)
'last_active_datetime': lastActiveDatetime,
if (isSystemUser != null) 'is_system_user': isSystemUser,
if (imagePath != null) 'image_path': imagePath,
});
}