PartyPromote constructor

PartyPromote({
  1. String? partyId,
  2. UserPresence? presence,
})

Implementation

factory PartyPromote({
  $core.String? partyId,
  UserPresence? presence,
}) {
  final _result = create();
  if (partyId != null) {
    _result.partyId = partyId;
  }
  if (presence != null) {
    _result.presence = presence;
  }
  return _result;
}