arrayRemove static method
Returns a special value that tells the server to remove the given elements from any array value that already exists on the server.
Can be used with set(), create() or update() operations.
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 elements) =>
_FieldValueArrayRemove(elements);