fixed property

FixedPrice? get fixed

The "fixed" variant, or null when the value is another one.

Implementation

FixedPrice? get fixed => value is FixedPrice ? value as FixedPrice : null;