generateLenses property
Whether the generator should generate the lenses class.
The lenses class uses the copyWith
method. So if generateLenses is set to true
,
the copyWith method needs to be generated (check generateCopy and generateCopyWith).
Defaults to true
.
Implementation
final bool? generateLenses;