get method

dynamic get(
  1. dynamic fieldPath
)

Retrieves the field specified by fieldPath parameter at the specified field location or null if no such field exists in the document.

The fieldPath is the String or FieldPath - the path (e.g. 'foo' or 'foo.bar') to a specific field.

Implementation

dynamic get(/*String|FieldPath*/ fieldPath) =>
    dartify(jsObject.get(fieldPath));