prop<T> method
Implementation
T prop<T>(JsonPath<T> path, [T? value]) {
if (value != null) {
setByPath(path, value);
return value;
} else {
return getByPath(path) as T;
}
}
T prop<T>(JsonPath<T> path, [T? value]) {
if (value != null) {
setByPath(path, value);
return value;
} else {
return getByPath(path) as T;
}
}