ofField

open fun ofField(@Nullable owner: @Nullable Any, @NotNull field: @NotNull Field): GetSetter<out Any>(source)

Create a GetSetter backed by a field… This GetSetter will update to and poll from the underlying field without any buffer.

Return

a field backed GetSetter

Parameters

owner

the instance on which to perform the lookup. should be null for static fields

field

the field to read from and write to