isSuccess property

bool get isSuccess

Implementation

bool get isSuccess =>
    (status ?? '').toUpperCase() == 'SUCCESS' && error == null;