get method Null safety

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 '') to a specific field.


dynamic get(/*String|FieldPath*/ fieldPath) =>