GeoJsonQuery constructor
GeoJsonQuery({
- String? property,
- dynamic value,
- GeoJsonFeatureType? geometryType,
- bool matchCase = true,
- GeoSearchType searchType = GeoSearchType.exact,
Provide a geometryType and/or a property and value
Implementation
GeoJsonQuery(
{this.property,
this.value,
this.geometryType,
this.matchCase = true,
this.searchType = GeoSearchType.exact}) {
if (geometryType == null) {
if (property == null || value == null) {
throw ArgumentError.notNull(
"Property and value must not be null if no geometry "
"type is provided");
}
}
}