isSatisfied property Null safety

bool isSatisfied

Convenient discriminator.

Implementation

bool get isSatisfied => _code == 10;