wrap

public static Property<T> wrap<T>(GetSetter<T> getSetter)(source)

Upgrades a GetSetter so that access through the returned Property will notify observers, with state still managed in the old GetSetter. N.B.: Changes to the provided GetSetter directly will never cause you to get notified. If you want to receive updates from the provided GetSetter if it already is a Property, use upgrade

Parameters

getSetter

the old get setter which will hold state