preprocessMap method
Implementation
Map<String, Object?> preprocessMap(Map<String, Object?> values) {
// return {for (final column in this) column.name: values[column.name] ?? column.defaultValueGetter()};
final copiedValues = Map.of(values);
for (final column in this) {
final defaultValue = column.defaultValueGetter();
if (defaultValue != null) copiedValues[column.name] ??= defaultValue;
}
return copiedValues;
}