copyWith method

DashboardGadgetUpdateRequest copyWith({
  1. String? color,
  2. DashboardGadgetPosition? position,
  3. String? title,
})

Implementation

DashboardGadgetUpdateRequest copyWith(
    {String? color, DashboardGadgetPosition? position, String? title}) {
  return DashboardGadgetUpdateRequest(
    color: color ?? this.color,
    position: position ?? this.position,
    title: title ?? this.title,
  );
}