copyWith method

BodyComponentEntity copyWith({
  1. String? documentID,
  2. String? componentName,
  3. String? componentId,
})

Implementation

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