OnNotVariant constructor

const OnNotVariant(
  1. ContextVariant variant
)

Creates a new OnNotVariant with the given variant.

The key is set to a ValueKey based on the variant.

Implementation

const OnNotVariant(this.variant);