isFail property

bool get isFail

Fails the request with the platform's natural error.

Implementation

bool get isFail => type == 'fail';