PartyData constructor

PartyData({
  1. String? partyId,
  2. UserPresence? presence,
  3. Int64? opCode,
  4. List<int>? data,
})

Implementation

factory PartyData({
  $core.String? partyId,
  UserPresence? presence,
  $fixnum.Int64? opCode,
  $core.List<$core.int>? data,
}) {
  final _result = create();
  if (partyId != null) {
    _result.partyId = partyId;
  }
  if (presence != null) {
    _result.presence = presence;
  }
  if (opCode != null) {
    _result.opCode = opCode;
  }
  if (data != null) {
    _result.data = data;
  }
  return _result;
}