Stop generating unecessary null check

This commit is contained in:
Simon Binder 2022-08-16 17:36:29 +02:00
parent 6b396fa067
commit ea1c635da8
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 0 additions and 4 deletions

View File

@ -670,10 +670,6 @@ class _ExpandedVariableWriter {
buffer
.write('${_converter(element.typeConverter!)}.toSql($dartExpr)');
}
if (!element.nullable) {
buffer.write('!');
}
} else if (capture != null) {
buffer.write('row.read(${asDartLiteral(capture.helperColumn)})');
} else {