FieldCondition constructor
FieldCondition({
- String? key,
- Match? match,
- Range? range,
- GeoBoundingBox? geoBoundingBox,
- GeoRadius? geoRadius,
- ValuesCount? valuesCount,
- GeoPolygon? geoPolygon,
- DatetimeRange? datetimeRange,
- bool? isEmpty,
- 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;
}