copyWith method

DashboardGadgetResponse copyWith({
  1. List<DashboardGadget>? gadgets,
})

Implementation

DashboardGadgetResponse copyWith({List<DashboardGadget>? gadgets}) {
  return DashboardGadgetResponse(
    gadgets: gadgets ?? this.gadgets,
  );
}