copyWithWrapped method

InstitutionsGetResponse copyWithWrapped({
  1. Wrapped<List<Institution>>? institutions,
  2. Wrapped<int>? total,
  3. Wrapped<String>? requestId,
})

Implementation

InstitutionsGetResponse copyWithWrapped(
    {Wrapped<List<Institution>>? institutions,
    Wrapped<int>? total,
    Wrapped<String>? requestId}) {
  return InstitutionsGetResponse(
      institutions:
          (institutions != null ? institutions.value : this.institutions),
      total: (total != null ? total.value : this.total),
      requestId: (requestId != null ? requestId.value : this.requestId));
}