isSuccess property

bool get isSuccess

Whether the request was successful.

Returns true when error is null.

Implementation

bool get isSuccess => error == null;