getTag method

  1. @override
String getTag(
  1. ProductState key,
  2. bool value
)

Returns the tag as on or off, like "gluten:with" or "gluten:without"

Implementation

@override
String getTag(final ProductState key, final bool value) =>
    value ? key.completedTag : key.toBeCompletedTag;