copyWith method

BulkUserLookup copyWith({
  1. BulkUserLookupType? type,
  2. String? username,
  3. String? userKey,
  4. String? accountId,
  5. String? accountType,
  6. String? email,
  7. String? publicName,
  8. Icon? profilePicture,
  9. String? displayName,
  10. String? timeZone,
  11. bool? isExternalCollaborator,
  12. List<OperationCheckResult>? operations,
  13. UserDetails? details,
  14. Space? personalSpace,
  15. BulkUserLookupExpandable? expandable,
  16. GenericLinks? links,
})

Implementation

BulkUserLookup copyWith(
    {BulkUserLookupType? type,
    String? username,
    String? userKey,
    String? accountId,
    String? accountType,
    String? email,
    String? publicName,
    Icon? profilePicture,
    String? displayName,
    String? timeZone,
    bool? isExternalCollaborator,
    List<OperationCheckResult>? operations,
    UserDetails? details,
    Space? personalSpace,
    BulkUserLookupExpandable? expandable,
    GenericLinks? links}) {
  return BulkUserLookup(
    type: type ?? this.type,
    username: username ?? this.username,
    userKey: userKey ?? this.userKey,
    accountId: accountId ?? this.accountId,
    accountType: accountType ?? this.accountType,
    email: email ?? this.email,
    publicName: publicName ?? this.publicName,
    profilePicture: profilePicture ?? this.profilePicture,
    displayName: displayName ?? this.displayName,
    timeZone: timeZone ?? this.timeZone,
    isExternalCollaborator:
        isExternalCollaborator ?? this.isExternalCollaborator,
    operations: operations ?? this.operations,
    details: details ?? this.details,
    personalSpace: personalSpace ?? this.personalSpace,
    expandable: expandable ?? this.expandable,
    links: links ?? this.links,
  );
}