withObject method
Returns a new instance that references object
.
Implementation
FieldReflection<O, T> withObject(O object) {
return FieldReflection<O, T>._(classReflection, declaringType, type, name,
nullable, getterAccessor, setterAccessor, object, isFinal, _annotations)
.._hasJsonFieldHidden = _hasJsonFieldHidden
.._hasJsonFieldVisible = _hasJsonFieldVisible
.._hasJsonNameAlias = _hasJsonNameAlias
.._jsonName = _jsonName;
}