isSuccess property

bool get isSuccess

Indicates whether the operation was successful.

Returns true if error is greater than or equal to 0, false otherwise.

Implementation

bool get isSuccess => error >= 0;