mirror of https://github.com/AMT-Cheif/drift.git
Fix outdated use of Value.use() in generated code
This commit is contained in:
parent
62c5106e7d
commit
151c374bfe
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue