Loading...
Searching...
No Matches
MapFilterCondition Class Reference

A single filter condition: property must match one of the given values. More...

Public Member Functions

 MapFilterCondition (this.property, this.values)
 Default constructor.
 

Public Attributes

String property
 The feature property to match (e.g. "category", "kind").
 
List< String > values
 List of allowed values. Feature is visible if its property matches any of these.
 

Detailed Description

A single filter condition: property must match one of the given values.

Dart code snippet:

// Create filter condition: show only venues with category "Toilet" or "Cafe"
final condition = MapFilterCondition(property: "category", values: ["Toilet", "Cafe"]);

Definition at line 23 of file map_filter_condition.dart.

Constructor & Destructor Documentation

◆ MapFilterCondition()

MapFilterCondition.MapFilterCondition ( this. property,
this. values )

Default constructor.

Member Data Documentation

◆ property

String MapFilterCondition.property

The feature property to match (e.g. "category", "kind").

Definition at line 29 of file map_filter_condition.dart.

◆ values

List<String> MapFilterCondition.values

List of allowed values. Feature is visible if its property matches any of these.

Definition at line 33 of file map_filter_condition.dart.


The documentation for this class was generated from the following file: