BoolMapParameter<T> class abstract

Abstract map of bool as Parameter.

Typical use-case with objects that have an on/off quality, like "with/without gluten". A query like "I want the products with eggs but without gluten" would be something like "{'eggs': true, 'gluten': false}".

Inheritance
Implementers

Constructors

BoolMapParameter({required Map<T, bool> map})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
map → Map<T, bool>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getName() → String
URI parameter name
inherited
getTag(T key, bool value) → String
Returns the tag as on or off, like "gluten:with" or "gluten:without"
getValue() → String
URI parameter value
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited