Fix outdated use of Value.use() in generated code

This commit is contained in:
Simon Binder 2019-06-21 21:07:06 +02:00
parent 62c5106e7d
commit 151c374bfe
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class DataClassWriter {
for (var column in table.columns) {
final getter = column.dartGetterName;
buffer.write('$getter: $getter == null && nullToAbsent ? '
'const Value.absent() : Value.use($getter),');
'const Value.absent() : Value($getter),');
}
buffer.write(') as T;}\n');
}