copyWithWrapped method

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

Implementation

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