FieldPath.fromString constructor
- String path
Creates a FieldPath from a dot-separated string.
Parameters:
path: The dot-separated path string.
Returns: A FieldPath instance.
Example:
var path = FieldPath.fromString('user.address.city');
Implementation
FieldPath.fromString(String path) : components = path.split('.');