InvitePayload constructor

InvitePayload({
  1. String? creatorIdentity,
  2. String? creatorName,
  3. List<int>? aclKey,
  4. String? spaceId,
  5. String? spaceName,
  6. String? spaceIconCid,
  7. Iterable<FileEncryptionKey>? spaceIconEncryptionKeys,
  8. InviteType? inviteType,
  9. List<int>? guestKey,
  10. int? spaceIconOption,
  11. int? spaceUxType,
  12. String? creatorIconCid,
  13. Iterable<FileEncryptionKey>? creatorIconEncryptionKeys,
  14. 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;
}