Skip to content

Commit 78a5fec

Browse files
authored
Avoid passing a nullable value to Future<nn-type>.value or Completer<nn-type>.completer. (#2205)
1 parent 6f28243 commit 78a5fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dwds/lib/src/services/batched_expression_evaluator.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class BatchedExpressionEvaluator extends ExpressionEvaluator {
156156
length: requests.length,
157157
)
158158
.then((v) {
159-
final result = v.first.value;
159+
final result = v.first.value!;
160160
_logger.fine(
161161
'Got result out of a batch for ${request.expression}: $result',
162162
);

0 commit comments

Comments
 (0)