Skip to content

Commit cbfd1f6

Browse files
committed
fix: update type casting for boolean expression in PipelineExpressionParserWeb
1 parent 52ee724 commit cbfd1f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ class PipelineExpressionParserWeb {
317317
return result;
318318
case 'not':
319319
final expr = argsMap[_kExpression] as Map<String, dynamic>;
320-
final boolExpr = toBooleanExpression(expr) as JSAny;
320+
final boolExpr = toBooleanExpression(expr) as JSAny?;
321321
return _pipelines.not(boolExpr);
322322
case 'exists':
323323
return _pipelines.exists(_expr(argsMap, _kExpression));

0 commit comments

Comments
 (0)