Skip to content

Commit

Permalink
feat: openfoodfacts#531 - comments
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurtanuki committed Aug 3, 2022
1 parent 5388945 commit ff90d51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/model/parameter/StatesTagsParameter.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:openfoodfacts/interface/Parameter.dart';
import 'package:openfoodfacts/model/State.dart';

/// States Tags as completed or to-be-completed. Filter combo mode is 'AND'.
/// States Tags as completed or to-be-completed.
class StatesTagsParameter extends Parameter {
@override
String getName() => 'states_tags';
Expand All @@ -18,6 +18,8 @@ class StatesTagsParameter extends Parameter {
}

/// [State]s to be considered as completed (true) or to-be-completed (false).
///
/// When we have several items, the results returned use a logical AND.
final Map<State, bool> completed;

StatesTagsParameter({required this.completed});
Expand Down

0 comments on commit ff90d51

Please sign in to comment.