equalsValue method
Compares this column against the mapped dartValue.
The value will be mapped using the converter applied to this column.
Unlike Expression.equals, this handles nullability with semantics one
might expect in Dart: null is equal to null.
Implementation
Expression<bool> equalsValue(D? dartValue) {
final mappedValue = _mapDartValue(dartValue);
if (mappedValue == null) {
return this.isNull();
} else {
return this.isNotNull() & equals(mappedValue);
}
}