isRefusal property

bool get isRefusal

Whether the model refused to respond.

Implementation

bool get isRefusal => refusal != null;