copyWith method

EmployersSearchResponse copyWith({
  1. List<Employer>? employers,
  2. String? requestId,
})

Implementation

EmployersSearchResponse copyWith(
    {List<Employer>? employers, String? requestId}) {
  return EmployersSearchResponse(
      employers: employers ?? this.employers,
      requestId: requestId ?? this.requestId);
}