copyWithWrapped method

InstitutionsGetByIdResponse copyWithWrapped({
  1. Wrapped<Institution>? institution,
  2. Wrapped<String>? requestId,
})

Implementation

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