PartyMatchmakerAdd constructor

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

Implementation

factory PartyMatchmakerAdd({
  $core.String? partyId,
  $core.int? minCount,
  $core.int? maxCount,
  $core.String? query,
  $core.Map<$core.String, $core.String>? stringProperties,
  $core.Map<$core.String, $core.double>? numericProperties,
}) {
  final _result = create();
  if (partyId != null) {
    _result.partyId = partyId;
  }
  if (minCount != null) {
    _result.minCount = minCount;
  }
  if (maxCount != null) {
    _result.maxCount = maxCount;
  }
  if (query != null) {
    _result.query = query;
  }
  if (stringProperties != null) {
    _result.stringProperties.addAll(stringProperties);
  }
  if (numericProperties != null) {
    _result.numericProperties.addAll(numericProperties);
  }
  return _result;
}