HttpRoute_QueryParameterMatch constructor

HttpRoute_QueryParameterMatch({
  1. String? queryParameter,
  2. String? exactMatch,
  3. String? regexMatch,
  4. bool? presentMatch,
})

Implementation

factory HttpRoute_QueryParameterMatch({
  $core.String? queryParameter,
  $core.String? exactMatch,
  $core.String? regexMatch,
  $core.bool? presentMatch,
}) {
  final $result = create();
  if (queryParameter != null) {
    $result.queryParameter = queryParameter;
  }
  if (exactMatch != null) {
    $result.exactMatch = exactMatch;
  }
  if (regexMatch != null) {
    $result.regexMatch = regexMatch;
  }
  if (presentMatch != null) {
    $result.presentMatch = presentMatch;
  }
  return $result;
}