MatchmakerAdd constructor

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

Implementation

factory MatchmakerAdd({
  $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 (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;
}