set Property
Sets the value for the given property to the given value and returns the resulting state.
As states are immutable, this will return a different state where the given property has the given value.
Return
the state with the property set to the value
Parameters
T
the property type
property
the property
value
the value