isSuccess property

bool get isSuccess

Returns true if the status equals "SUCCESS" (case-insensitive).

Implementation

bool get isSuccess => status.toUpperCase() == 'SUCCESS';