hasReason property
bool
get
hasReason
Returns true if reason
is not null, otherwise false.
Implementation
bool get hasReason => reason != null;
Returns true if reason
is not null, otherwise false.
bool get hasReason => reason != null;