hasError property

bool get hasError

Проверка наличии ошибки

Implementation

bool get hasError => success == false && errorCode != '0';