update method

S update(
  1. T t
)

Returns a copy of the subject this lens is focused on with the field of this lens change to t

Implementation

S update(T t) => _lens.update(_subject, t);