Returns the current value of the path from the provided obj
ect.
getValueFrom(Object obj) {
if (!isValid) return null;
for (var segment in _segments) {
if (obj == null) return null;
obj = _getObjectProperty(obj, segment);
}
return obj;
}