Match constructor

Match({
  1. String? keyword,
  2. Int64? integer,
  3. bool? boolean,
  4. String? text,
  5. RepeatedStrings? keywords,
  6. RepeatedIntegers? integers,
  7. RepeatedIntegers? exceptIntegers,
  8. RepeatedStrings? exceptKeywords,
})

Implementation

factory Match({
  $core.String? keyword,
  $fixnum.Int64? integer,
  $core.bool? boolean,
  $core.String? text,
  RepeatedStrings? keywords,
  RepeatedIntegers? integers,
  RepeatedIntegers? exceptIntegers,
  RepeatedStrings? exceptKeywords,
}) {
  final $result = create();
  if (keyword != null) {
    $result.keyword = keyword;
  }
  if (integer != null) {
    $result.integer = integer;
  }
  if (boolean != null) {
    $result.boolean = boolean;
  }
  if (text != null) {
    $result.text = text;
  }
  if (keywords != null) {
    $result.keywords = keywords;
  }
  if (integers != null) {
    $result.integers = integers;
  }
  if (exceptIntegers != null) {
    $result.exceptIntegers = exceptIntegers;
  }
  if (exceptKeywords != null) {
    $result.exceptKeywords = exceptKeywords;
  }
  return $result;
}