copyWith method

SharePermissionInputBean copyWith({
  1. String? accountId,
  2. String? groupId,
  3. String? groupname,
  4. String? projectId,
  5. String? projectRoleId,
  6. int? rights,
  7. SharePermissionInputBeanType? type,
})

Implementation

SharePermissionInputBean copyWith(
    {String? accountId,
    String? groupId,
    String? groupname,
    String? projectId,
    String? projectRoleId,
    int? rights,
    SharePermissionInputBeanType? type}) {
  return SharePermissionInputBean(
    accountId: accountId ?? this.accountId,
    groupId: groupId ?? this.groupId,
    groupname: groupname ?? this.groupname,
    projectId: projectId ?? this.projectId,
    projectRoleId: projectRoleId ?? this.projectRoleId,
    rights: rights ?? this.rights,
    type: type ?? this.type,
  );
}