call method
Creates an Attribute instance from a list of BoxShadow objects.
This method maps each BoxShadow object to a BoxShadowDto object and passes the resulting list to the builder function to create the Attribute instance.
Implementation
T call(List<BoxShadow> shadows) {
return builder(shadows.map((e) => e.toDto()).toList());
}