arrayRemove static method

FieldValue arrayRemove(
  1. List elements
)

Returns a FieldValue that tells the server to remove the given elements from any array value that already exists on the server.

All instances of each element specified will be removed from the array. If the field being modified is not already an array it will be overwritten with an empty array.

Implementation

static FieldValue arrayRemove(List<dynamic> elements) =>
    FieldValue._(_factory.arrayRemove(_CodecUtility.valueEncode(elements)));