copyWith method

PageOfDashboards copyWith({
  1. List<Dashboard>? dashboards,
  2. int? maxResults,
  3. String? next,
  4. String? prev,
  5. int? startAt,
  6. int? total,
})

Implementation

PageOfDashboards copyWith(
    {List<Dashboard>? dashboards,
    int? maxResults,
    String? next,
    String? prev,
    int? startAt,
    int? total}) {
  return PageOfDashboards(
    dashboards: dashboards ?? this.dashboards,
    maxResults: maxResults ?? this.maxResults,
    next: next ?? this.next,
    prev: prev ?? this.prev,
    startAt: startAt ?? this.startAt,
    total: total ?? this.total,
  );
}