field function

Field field(
  1. Object nameOrPath
)

A reference to the field nameOrPath: a dot-separated String or a FieldPath.

Implementation

Field field(Object nameOrPath) => Field.of(nameOrPath);