isNone property

bool get isNone

Returns true if this value is none, otherwise false.

Implementation

bool get isNone => this == KnownDeclarationAllowIncoming.none;