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 'userId':
userId = value;
return;
case 'version':
version = value;
return;
case 'url':
url = value;
return;
default:
throw UnimplementedError();
}
}