arrayUnion method

dynamic arrayUnion(
  1. List elements
)

Returns a special value that tells the server to union the given elements with any array value that already exists on the server.

Each specified element that doesn't already exist in the array will be added to the end. If the field being modified is not already an array it will be overwritten with an array containing exactly the specified elements.

Implementation

dynamic arrayUnion(List<dynamic> elements) {
  throw UnimplementedError('arrayUnion() is not implemented');
}