Field constructor

const Field(
  1. String fieldPath
)

Creates a field path expression

fieldPath - String describing a field path. To traverse an hierarchical document use dot notation. For example: user.name

After build Field will look like $fieldPath

Implementation

const Field(String fieldPath) : _fieldPath = fieldPath;