copyWithWrapped method

DashboardCriteriaChartModel copyWithWrapped({
  1. Wrapped<String>? name,
  2. Wrapped<String?>? type,
  3. Wrapped<String>? criteriaId,
})

Implementation

DashboardCriteriaChartModel copyWithWrapped(
    {Wrapped<String>? name,
    Wrapped<String?>? type,
    Wrapped<String>? criteriaId}) {
  return DashboardCriteriaChartModel(
      name: (name != null ? name.value : this.name),
      type: (type != null ? type.value : this.type),
      criteriaId: (criteriaId != null ? criteriaId.value : this.criteriaId));
}