isSuccess property

bool get isSuccess

Implementation

bool get isSuccess => status == 'success' && data != null;