copyWith method
Implementation
BodyComponentEntity copyWith({
String? documentID,
String? componentName,
String? componentId,
}) {
return BodyComponentEntity(
componentName: componentName ?? this.componentName,
componentId: componentId ?? this.componentId,
);
}