File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
packages/cloud_firestore/cloud_firestore
pipeline_example/integration_test/pipeline Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -205,8 +205,11 @@ abstract class Expression implements PipelineSerializable {
205205 /// [key] and [value] are the first pair. [moreKeyValues] must be alternating
206206 /// keys and values. Setting a value to `null` keeps the key with a null value;
207207 /// use map APIs that remove keys if you need deletion semantics.
208- Expression mapSet (Object ? key, Object ? value,
209- [List <Object ?>? moreKeyValues]) {
208+ Expression mapSet (
209+ Object ? key,
210+ Object ? value, [
211+ List <Object ?>? moreKeyValues,
212+ ]) {
210213 final pairs = < Expression > [_toExpression (key), _toExpression (value)];
211214 if (moreKeyValues != null ) {
212215 for (final o in moreKeyValues) {
@@ -3450,8 +3453,11 @@ class _ArrayIndexOfExpression extends FunctionExpression {
34503453 final Expression element;
34513454 final bool isLast;
34523455
3453- _ArrayIndexOfExpression (this .expression, this .element,
3454- {required this .isLast});
3456+ _ArrayIndexOfExpression (
3457+ this .expression,
3458+ this .element, {
3459+ required this .isLast,
3460+ });
34553461
34563462 @override
34573463 String get name => 'array_index_of' ;
Original file line number Diff line number Diff line change @@ -872,7 +872,7 @@ void runPipelineExpressionsTests() {
872872 .execute ();
873873 expectResultCount (snapshot, 1 );
874874 expect (snapshot.result[0 ].data ()! ['domain_part' ], '@example.com' );
875- }, skip: ! kIsWeb)) ;
875+ }, skip: ! kIsWeb);
876876
877877 test ('addFields regexFindAll on email' , () async {
878878 final snapshot = await firestore
You can’t perform that action at this time.
0 commit comments