isFailed property

bool get isFailed

Whether the batch has failed.

Implementation

bool get isFailed => status?.toLowerCase() == 'failed';