Fix typeconverter-depend nullability in DataClass copyWidth

This commit is contained in:
westito 2022-05-30 13:25:18 +02:00
parent a604eeddaf
commit a816c1aac2
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ class DataClassWriter {
// we can use field.present ? field.value : this.field
final getter = column.dartGetterName;
if (wrapNullableInValue && column.nullable) {
if (wrapNullableInValue && column.nullableInDart) {
_buffer
.write('$getter: $getter.present ? $getter.value : this.$getter,');
} else {