copyWithWrapped method

DashboardUserListResponse copyWithWrapped({
  1. Wrapped<List<DashboardUser>>? dashboardUsers,
  2. Wrapped<String?>? nextCursor,
  3. Wrapped<String>? requestId,
})

Implementation

DashboardUserListResponse copyWithWrapped(
    {Wrapped<List<DashboardUser>>? dashboardUsers,
    Wrapped<String?>? nextCursor,
    Wrapped<String>? requestId}) {
  return DashboardUserListResponse(
      dashboardUsers: (dashboardUsers != null
          ? dashboardUsers.value
          : this.dashboardUsers),
      nextCursor: (nextCursor != null ? nextCursor.value : this.nextCursor),
      requestId: (requestId != null ? requestId.value : this.requestId));
}