asBlob method
Cast as Expr<Uint8List?> using CAST(NULL AS BLOB)
.
This method is rarely necessary, as you can generally pass toExpr(null)
to any method expecting an Expr<Uint8List?>
. But in some complex scenarios
this can alleviate type inference issues.
Implementation
Expr<Uint8List?> asBlob() => CastExpression._(this, ColumnType.blob);