copyWithWrapped method

InstitutionsSearchResponse copyWithWrapped({
  1. Wrapped<List<Institution>>? institutions,
  2. Wrapped<String>? requestId,
})

Implementation

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