FieldCondition constructor

FieldCondition({
  1. String? key,
  2. Match? match,
  3. Range? range,
  4. GeoBoundingBox? geoBoundingBox,
  5. GeoRadius? geoRadius,
  6. ValuesCount? valuesCount,
  7. GeoPolygon? geoPolygon,
  8. DatetimeRange? datetimeRange,
  9. bool? isEmpty,
  10. bool? isNull,
})

Implementation

factory FieldCondition({
  $core.String? key,
  Match? match,
  Range? range,
  GeoBoundingBox? geoBoundingBox,
  GeoRadius? geoRadius,
  ValuesCount? valuesCount,
  GeoPolygon? geoPolygon,
  DatetimeRange? datetimeRange,
  $core.bool? isEmpty,
  $core.bool? isNull,
}) {
  final $result = create();
  if (key != null) {
    $result.key = key;
  }
  if (match != null) {
    $result.match = match;
  }
  if (range != null) {
    $result.range = range;
  }
  if (geoBoundingBox != null) {
    $result.geoBoundingBox = geoBoundingBox;
  }
  if (geoRadius != null) {
    $result.geoRadius = geoRadius;
  }
  if (valuesCount != null) {
    $result.valuesCount = valuesCount;
  }
  if (geoPolygon != null) {
    $result.geoPolygon = geoPolygon;
  }
  if (datetimeRange != null) {
    $result.datetimeRange = datetimeRange;
  }
  if (isEmpty != null) {
    $result.isEmpty = isEmpty;
  }
  if (isNull != null) {
    $result.isNull = isNull;
  }
  return $result;
}