MergeObjects constructor

MergeObjects(
  1. dynamic objects
)

Creates $mergeObjects operator expression

Implementation

MergeObjects(objects)
    : super(
          'mergeObjects',
          objects is List
              ? AEList(objects.map(
                  (obj) => obj is Map<String, dynamic> ? AEObject(obj) : obj))
              : objects);