copyWith method

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

Implementation

InstitutionsGetResponse copyWith(
    {List<Institution>? institutions, int? total, String? requestId}) {
  return InstitutionsGetResponse(
      institutions: institutions ?? this.institutions,
      total: total ?? this.total,
      requestId: requestId ?? this.requestId);
}