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