Lens<S, T> constructor

const Lens<S, T>(
  1. Getter<S, T> get,
  2. Updater<S, T> update
)

Implementation

const Lens(this.get, this.update);