addMatchmakerParty method

Future<PartyMatchmakerTicket> addMatchmakerParty({
  1. required String partyId,
  2. required int minCount,
  3. int? maxCount,
  4. String? query,
  5. Map<String, double>? numericProperties,
  6. Map<String, String>? stringProperties,
})

Implementation

Future<PartyMatchmakerTicket> addMatchmakerParty({
  required String partyId,
  required int minCount,
  int? maxCount,
  String? query,
  Map<String, double>? numericProperties,
  Map<String, String>? stringProperties,
}) async {
  final res = await _send<rtpb.PartyMatchmakerTicket>(rtpb.Envelope(
      partyMatchmakerAdd: rtpb.PartyMatchmakerAdd(
    partyId: partyId,
    minCount: minCount,
    maxCount: maxCount,
    query: query,
    numericProperties: numericProperties,
    stringProperties: stringProperties,
  )));

  return PartyMatchmakerTicket.fromDto(res);
}