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 'name':
name = value;
return;
case 'time':
time = value;
return;
case 'serializedObject':
serializedObject = value;
return;
case 'serverId':
serverId = value;
return;
case 'identifier':
identifier = value;
return;
default:
throw UnimplementedError();
}
}