setColumn method
Sets the value of a column by its name. Used in communication with the database.
Implementation
@override
void setColumn(
String columnName,
value,
) {
switch (columnName) {
case 'id':
id = value;
return;
case 'userIdentifier':
userIdentifier = value;
return;
case 'userName':
userName = value;
return;
case 'fullName':
fullName = value;
return;
case 'email':
email = value;
return;
case 'created':
created = value;
return;
case 'imageUrl':
imageUrl = value;
return;
case 'scopeNames':
scopeNames = value;
return;
case 'blocked':
blocked = value;
return;
default:
throw UnimplementedError();
}
}