toggled property

bool? get toggled

Returns the inverse of this value, or null when the value is null.

Implementation

bool? get toggled => this == null ? null : !this!;