ShadowUtility<T extends Attribute> constructor

ShadowUtility<T extends Attribute>(
  1. T builder(
    1. ShadowDto
    )
)

Creates a new ShadowUtility instance.

The builder function is used to create new instances of T.

Implementation

ShadowUtility(super.builder) : super(valueToDto: (value) => value.toDto());