isSuccessful property

bool isSuccessful

Returns true if this task execution has finished successfully.

Implementation

bool get isSuccessful => isFinished && _error == null;