isError property

bool get isError

True if there was an error while receiving the token

Implementation

bool get isError => status == STATUS_ERROR;