InvitePayload constructor
InvitePayload({
- String? creatorIdentity,
- String? creatorName,
- List<
int> ? aclKey, - String? spaceId,
- String? spaceName,
- String? spaceIconCid,
- Iterable<
FileEncryptionKey> ? spaceIconEncryptionKeys, - InviteType? inviteType,
- List<
int> ? guestKey, - int? spaceIconOption,
- int? spaceUxType,
- String? creatorIconCid,
- Iterable<
FileEncryptionKey> ? creatorIconEncryptionKeys, - int? spaceType,
Implementation
factory InvitePayload({
$core.String? creatorIdentity,
$core.String? creatorName,
$core.List<$core.int>? aclKey,
$core.String? spaceId,
$core.String? spaceName,
$core.String? spaceIconCid,
$core.Iterable<FileEncryptionKey>? spaceIconEncryptionKeys,
InviteType? inviteType,
$core.List<$core.int>? guestKey,
$core.int? spaceIconOption,
$core.int? spaceUxType,
$core.String? creatorIconCid,
$core.Iterable<FileEncryptionKey>? creatorIconEncryptionKeys,
$core.int? spaceType,
}) {
final result = create();
if (creatorIdentity != null) result.creatorIdentity = creatorIdentity;
if (creatorName != null) result.creatorName = creatorName;
if (aclKey != null) result.aclKey = aclKey;
if (spaceId != null) result.spaceId = spaceId;
if (spaceName != null) result.spaceName = spaceName;
if (spaceIconCid != null) result.spaceIconCid = spaceIconCid;
if (spaceIconEncryptionKeys != null)
result.spaceIconEncryptionKeys.addAll(spaceIconEncryptionKeys);
if (inviteType != null) result.inviteType = inviteType;
if (guestKey != null) result.guestKey = guestKey;
if (spaceIconOption != null) result.spaceIconOption = spaceIconOption;
if (spaceUxType != null) result.spaceUxType = spaceUxType;
if (creatorIconCid != null) result.creatorIconCid = creatorIconCid;
if (creatorIconEncryptionKeys != null)
result.creatorIconEncryptionKeys.addAll(creatorIconEncryptionKeys);
if (spaceType != null) result.spaceType = spaceType;
return result;
}