map method
S
map(
- T f(
- T
Returns a copy of the subject this lens is focused on with the field of this lens transformed by f
Implementation
S map(T Function(T) f) => update(f(value));
Returns a copy of the subject this lens is focused on with the field of this lens transformed by f
S map(T Function(T) f) => update(f(value));