isSuccess property

bool get isSuccess

Whether the process exited successfully (exit code 0).

Implementation

bool get isSuccess => exitCode == 0;