copyWith method

FoundUsers copyWith({
  1. String? header,
  2. int? total,
  3. List<UserPickerUser>? users,
})

Implementation

FoundUsers copyWith(
    {String? header, int? total, List<UserPickerUser>? users}) {
  return FoundUsers(
    header: header ?? this.header,
    total: total ?? this.total,
    users: users ?? this.users,
  );
}