not property

OnNotVariant Function(ContextVariant variant) not
latefinal

Creates an OnNotVariant with the specified variant.

This reverses the result of the specified variant.

For example, if the specified variant evaluates to true, the OnNotVariant with that variant will evaluate to false, and vice versa.

Implementation

late final not = OnNotVariant.new;