getField method

FunctionExpression getField(
  1. Object key
)

The value of the field key of this map or document, for example of currentDocument() or of a variable that holds a document.

Implementation

FunctionExpression getField(Object key) =>
    _function('get_field', <Object?>[key]);