PartyJoinRequest constructor

PartyJoinRequest({
  1. String? partyId,
  2. Iterable<UserPresence>? presences,
})

Implementation

factory PartyJoinRequest({
  $core.String? partyId,
  $core.Iterable<UserPresence>? presences,
}) {
  final _result = create();
  if (partyId != null) {
    _result.partyId = partyId;
  }
  if (presences != null) {
    _result.presences.addAll(presences);
  }
  return _result;
}